1 2 3 4 5 6
struct Foo { bytes: [u8; std::mem::size_of::<Foo>()] //~^ ERROR cycle detected when evaluating type-level constant } fn main() {}