rust/tests/ui/union/union-nonrepresentable.rs
2023-01-11 09:32:08 +00:00

7 lines
118 B
Rust

union U { //~ ERROR recursive type `U` has infinite size
a: u8,
b: std::mem::ManuallyDrop<U>,
}
fn main() {}