1 // Checks whether shadowing a const parameter leads to an ICE (#85348).
3 impl<const N: usize> ArrayWindowsExample {
4 //~^ ERROR: cannot find type `ArrayWindowsExample` in this scope [E0412]
7 //~^ ERROR: let bindings cannot shadow const parameters [E0530]
8 //~| ERROR: type annotations needed [E0282]