blob: cb36d456f3887de7f91e2c6c629649fb7b06b716 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// revisions: full min
#![cfg_attr(full, feature(const_generics))] //[full]~WARN the feature `const_generics` is incomplete
#![cfg_attr(min, feature(min_const_generics))]
struct A<T = u32, const N: usize> {
//~^ ERROR type parameters with a default must be trailing
arg: T,
}
fn main() {}
|