Files
rust/tests/ui/consts/const-size_of-cycle.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
139 B
Rust
Raw Normal View History

2017-06-23 17:48:29 +03:00
struct Foo {
bytes: [u8; std::mem::size_of::<Foo>()]
//~^ ERROR cycle detected when evaluating type-level constant
2017-06-23 17:48:29 +03:00
}
fn main() {}