1 error: generic parameters with a default must be trailing
2 --> $DIR/wrong-order.rs:1:10
4 LL | struct A<T = u32, const N: usize> {
7 error: generic parameters with a default must be trailing
8 --> $DIR/wrong-order.rs:6:18
10 LL | struct Foo<const N: u8 = 3, T>(T);
13 error: aborting due to 2 previous errors