fork/rust

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

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

master
330 B8 linesraw
1error: lifetime parameters must be declared prior to type and const parameters
2  --> $DIR/const-param-before-other-params.rs:1:21
3   |
4LL | fn bar<const X: u8, 'a>(_: &'a ()) {
5   |       --------------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, const X: u8>`
6
7error: aborting due to previous error
8