struct Struct; //~^ ERROR generic parameters cannot use `Self` in their defaults [E0735] enum Enum { } //~^ ERROR generic parameters cannot use `Self` in their defaults [E0735] union Union { not_empty: () } //~^ ERROR generic parameters cannot use `Self` in their defaults [E0735] fn main() { let _: Struct; let _: Enum; let _: Union; }