1 struct Bug<S>{ //~ ERROR parameter `S` is never used [E0392]
3 let x: [u8; Self::W] = [0; Self::W]; //~ ERROR generic `Self` types are currently not permitted in anonymous constants
4 //~^ ERROR generic `Self` types are currently not permitted in anonymous constants
5 //~^^ ERROR the size for values of type `S` cannot be known at compilation time [E0277]
6 F //~ ERROR cannot find value `F` in this scope [E0425]
8 } //~ ERROR mismatched closing delimiter: `}`
9 //~^ ERROR mismatched closing delimiter: `}`