#![feature(untagged_unions)] union Foo { value: T, //~^ ERROR the size for values of type } struct Foo2 { value: T, //~^ ERROR the size for values of type t: u32, } enum Foo3 { Value(T), //~^ ERROR the size for values of type } fn main() {}