1 error: type parameters must be declared prior to const parameters
2 --> $DIR/argument_order.rs:4:28
4 LL | struct Bad<const N: usize, T> {
5 | -----------------^- help: reorder the parameters: lifetimes, then types, then consts: `<T, const N: usize>`
7 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
8 --> $DIR/argument_order.rs:1:12
10 LL | #![feature(const_generics)]
13 = note: `#[warn(incomplete_features)]` on by default
14 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
16 error: aborting due to previous error; 1 warning emitted