]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-move-lifetimes.stderr
Auto merge of #80267 - 0urobor0s:ouro/61592, r=jyn514
[rust.git] / src / test / ui / suggestions / suggest-move-lifetimes.stderr
1 error: lifetime parameters must be declared prior to type parameters
2   --> $DIR/suggest-move-lifetimes.rs:1:13
3    |
4 LL | struct A<T, 'a> {
5    |         ----^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T>`
6
7 error: lifetime parameters must be declared prior to type parameters
8   --> $DIR/suggest-move-lifetimes.rs:5:13
9    |
10 LL | struct B<T, 'a, U> {
11    |         ----^^---- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T, U>`
12
13 error: lifetime parameters must be declared prior to type parameters
14   --> $DIR/suggest-move-lifetimes.rs:10:16
15    |
16 LL | struct C<T, U, 'a> {
17    |         -------^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T, U>`
18
19 error: lifetime parameters must be declared prior to type parameters
20   --> $DIR/suggest-move-lifetimes.rs:15:16
21    |
22 LL | struct D<T, U, 'a, 'b, V, 'c> {
23    |         -------^^--^^-----^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b, 'c, T, U, V>`
24
25 error: aborting due to 4 previous errors
26