6 //~^ ERROR expected struct, variant or union type, found Self
8 //~^ ERROR expected struct, variant or union type, found Self
9 //~| ERROR type arguments are not allowed on this entity
12 //~^ ERROR expected struct, variant or union type, found Self
19 let s = Self {}; // OK
20 let z = Self::<u8> {}; //~ ERROR type arguments are not allowed on this entity
22 Self { .. } => {} // OK
29 let s = Self {}; // OK
30 let z = Self::<u8> {}; //~ ERROR type arguments are not allowed on this entity
32 Self { .. } => {} // OK