1 // Also includes more Self usages per #93796
4 //~^ ERROR cannot find type `Self`
9 //~^ ERROR cannot find type `Self`
15 //~^ ERROR cannot find type `Self`
19 //~^ ERROR cannot find type `Self`
21 const FOO2: u32 = Self::bar();
22 //~^ ERROR failed to resolve: `Self`
24 static FOO_S: Self = 0;
25 //~^ ERROR cannot find type `Self`
27 static FOO_S2: u32 = Self::bar();
28 //~^ ERROR failed to resolve: `Self`