12 lines
216 B
Rust
12 lines
216 B
Rust
#![feature(core_intrinsics)]
|
|
|
|
use std::intrinsics;
|
|
|
|
struct Foo {
|
|
bytes: [u8; unsafe { intrinsics::size_of::<Foo>() }],
|
|
//~^ ERROR cycle detected when const-evaluating + checking
|
|
x: usize,
|
|
}
|
|
|
|
fn main() {}
|