use std::mem::ManuallyDrop; union Foo { value: ManuallyDrop, //~^ ERROR the size for values of type } struct Foo2 { value: ManuallyDrop, //~^ ERROR the size for values of type t: u32, } enum Foo3 { Value(ManuallyDrop), //~^ ERROR the size for values of type } fn main() {}