Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
consts
/
const-size_of-cycle.rs
blob: f45d96d43f80d59e077398d0017e76a770befe33 [
file
] [
log
] [
blame
]
struct
Foo
{
bytes
:
[
u8
;
std
::
mem
::
size_of
::<
Foo
>()]
//~^ ERROR cycle detected when evaluating type-level constant
}
fn
main
()
{}