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.

8 lines
108 B
Rust
Raw Normal View History

2018-04-15 21:21:00 +00:00
//@ error-pattern: cycle detected
2017-06-23 14:48:29 +00:00
struct Foo {
bytes: [u8; std::mem::size_of::<Foo>()]
}
fn main() {}