]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/suggest-move-lifetimes.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / suggestions / suggest-move-lifetimes.stderr
CommitLineData
f2b60f7d 1error: lifetime parameters must be declared prior to type and const parameters
a1dfa0c6
XL
2 --> $DIR/suggest-move-lifetimes.rs:1:13
3 |
532ac7d7 4LL | struct A<T, 'a> {
a2a8927a 5 | ----^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T>`
a1dfa0c6 6
f2b60f7d 7error: lifetime parameters must be declared prior to type and const parameters
a1dfa0c6
XL
8 --> $DIR/suggest-move-lifetimes.rs:5:13
9 |
532ac7d7 10LL | struct B<T, 'a, U> {
a2a8927a 11 | ----^^---- help: reorder the parameters: lifetimes, then consts and types: `<'a, T, U>`
a1dfa0c6 12
f2b60f7d 13error: lifetime parameters must be declared prior to type and const parameters
a1dfa0c6
XL
14 --> $DIR/suggest-move-lifetimes.rs:10:16
15 |
532ac7d7 16LL | struct C<T, U, 'a> {
a2a8927a 17 | -------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T, U>`
a1dfa0c6 18
f2b60f7d 19error: lifetime parameters must be declared prior to type and const parameters
a1dfa0c6
XL
20 --> $DIR/suggest-move-lifetimes.rs:15:16
21 |
532ac7d7 22LL | struct D<T, U, 'a, 'b, V, 'c> {
a2a8927a 23 | -------^^--^^-----^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, 'b, 'c, T, U, V>`
a1dfa0c6
XL
24
25error: aborting due to 4 previous errors
26