1 error: lifetime parameters must be declared prior to type and const parameters
2 --> $DIR/param-order-err-pretty-prints-default.rs:1:33
4 LL | struct Foo<const M: usize = 10, 'a>(&'a u32);
5 | ----------------------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, const M: usize = 10>`
7 error: aborting due to previous error