rust/tests/ui/feature-gates/feature-gate-transparent_un...

8 lines
134 B
Rust

#[repr(transparent)]
union OkButUnstableUnion { //~ ERROR transparent unions are unstable
field: u8,
zst: (),
}
fn main() {}