Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
associated-consts
/
issue-47814.rs
blob: a28b1c00113c9b6ef15336f7b5c712d22f00a06f [
file
] [
log
] [
blame
] [
edit
]
struct
ArpIPv4
<
'
a
>
{
s
:
&
'
a u8
}
impl
<
'a> ArpIPv4<'
a
>
{
const
LENGTH
:
usize
=
20
;
pub
fn
to_buffer
()
->
[
u8
;
Self
::
LENGTH
]
{
//~^ ERROR: generic `Self` types are currently not permitted in anonymous constants
unimplemented
!()
}
}
fn
main
()
{}