3 // Verifies that having generic parameters after constants is permitted
4 #![cfg_attr(full, feature(const_generics))]
5 #![cfg_attr(full, allow(incomplete_features))]
6 #![cfg_attr(min, feature(min_const_generics))]
9 struct A<const N: usize, T>(T);
10 //[min]~^ ERROR type parameters must be declared prior to const parameters