|
1 | 1 | error: lifetime parameters must be declared prior to type parameters
|
2 |
| - --> $DIR/issue-14303-path.rs:1:37 |
| 2 | + --> $DIR/issue-14303-path.rs:10:40 |
3 | 3 | |
|
4 |
| -LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} |
5 |
| - | ^^ must be declared prior to type parameters |
| 4 | +LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {} |
| 5 | + | ^^ must be declared prior to type parameters |
6 | 6 |
|
7 | 7 | error: lifetime parameters must be declared prior to type parameters
|
8 |
| - --> $DIR/issue-14303-path.rs:1:41 |
| 8 | + --> $DIR/issue-14303-path.rs:10:44 |
9 | 9 | |
|
10 |
| -LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} |
11 |
| - | ^^ must be declared prior to type parameters |
| 10 | +LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {} |
| 11 | + | ^^ must be declared prior to type parameters |
12 | 12 |
|
13 |
| -error[E0433]: failed to resolve: use of undeclared type or module `mymodule` |
14 |
| - --> $DIR/issue-14303-path.rs:1:18 |
15 |
| - | |
16 |
| -LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} |
17 |
| - | ^^^^^^^^ use of undeclared type or module `mymodule` |
18 |
| - |
19 |
| -error[E0261]: use of undeclared lifetime name `'b` |
20 |
| - --> $DIR/issue-14303-path.rs:1:37 |
21 |
| - | |
22 |
| -LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} |
23 |
| - | ^^ undeclared lifetime |
24 |
| - |
25 |
| -error[E0261]: use of undeclared lifetime name `'c` |
26 |
| - --> $DIR/issue-14303-path.rs:1:41 |
27 |
| - | |
28 |
| -LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} |
29 |
| - | ^^ undeclared lifetime |
30 |
| - |
31 |
| -error: aborting due to 5 previous errors |
| 13 | +error: aborting due to 2 previous errors |
32 | 14 |
|
33 |
| -Some errors occurred: E0261, E0433. |
34 |
| -For more information about an error, try `rustc --explain E0261`. |
0 commit comments