fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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