1 #![feature(const_generics)]
2 #![allow(incomplete_features)]
4 struct Bad<const N: usize, T> {
9 struct AlsoBad<const N: usize, 'a, T, 'b, const M: usize, U> {
10 //~^ ERROR lifetime parameters must be declared prior
16 let _: AlsoBad<7, 'static, u32, 'static, 17, u16>;
17 //~^ ERROR lifetime provided when a type was expected