fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
1000 B26 linesraw
1error: lifetime parameters must be declared prior to type parameters
2  --> $DIR/suggest-move-lifetimes.rs:1:13
3   |
4LL | struct A<T, 'a> {
5   |         ----^^- help: reorder the parameters: lifetimes, then types: `<'a, T>`
6
7error: lifetime parameters must be declared prior to type parameters
8  --> $DIR/suggest-move-lifetimes.rs:5:13
9   |
10LL | struct B<T, 'a, U> {
11   |         ----^^---- help: reorder the parameters: lifetimes, then types: `<'a, T, U>`
12
13error: lifetime parameters must be declared prior to type parameters
14  --> $DIR/suggest-move-lifetimes.rs:10:16
15   |
16LL | struct C<T, U, 'a> {
17   |         -------^^- help: reorder the parameters: lifetimes, then types: `<'a, T, U>`
18
19error: lifetime parameters must be declared prior to type parameters
20  --> $DIR/suggest-move-lifetimes.rs:15:16
21   |
22LL | struct D<T, U, 'a, 'b, V, 'c> {
23   |         -------^^--^^-----^^- help: reorder the parameters: lifetimes, then types: `<'a, 'b, 'c, T, U, V>`
24
25error: aborting due to 4 previous errors
26