1 error: type parameters with a default must be trailing
2 --> $DIR/wrong-order.rs:5:10
4 LL | struct A<T = u32, const N: usize> {
7 = note: using type defaults and const parameters in the same parameter list is currently not permitted
9 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
10 --> $DIR/wrong-order.rs:2:27
12 LL | #![cfg_attr(full, feature(const_generics))]
15 = note: `#[warn(incomplete_features)]` on by default
16 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
18 error: aborting due to previous error; 1 warning emitted