|
1 | | -error[E0090]: too few lifetime parameters provided: expected 2 lifetime parameters, found 1 lifetime parameter |
| 1 | +error[E0090]: wrong number of lifetime arguments: expected 2, found 1 |
2 | 2 | --> $DIR/method-call-lifetime-args-fail.rs:26:7 |
3 | 3 | | |
4 | 4 | LL | S.early::<'static>(); |
5 | | - | ^^^^^ expected 2 lifetime parameters |
| 5 | + | ^^^^^ expected 2 lifetime arguments |
6 | 6 |
|
7 | | -error[E0088]: too many lifetime parameters provided: expected at most 2 lifetime parameters, found 3 lifetime parameters |
8 | | - --> $DIR/method-call-lifetime-args-fail.rs:28:33 |
| 7 | +error[E0088]: wrong number of lifetime arguments: expected 2, found 3 |
| 8 | + --> $DIR/method-call-lifetime-args-fail.rs:28:7 |
9 | 9 | | |
10 | 10 | LL | S.early::<'static, 'static, 'static>(); |
11 | | - | ^^^^^^^ expected 2 lifetime parameters |
| 11 | + | ^^^^^ unexpected lifetime argument |
12 | 12 |
|
13 | 13 | error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present |
14 | 14 | --> $DIR/method-call-lifetime-args-fail.rs:37:15 |
@@ -178,17 +178,17 @@ note: the late bound lifetime parameter is introduced here |
178 | 178 | LL | fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} } |
179 | 179 | | ^^ |
180 | 180 |
|
181 | | -error[E0090]: too few lifetime parameters provided: expected 2 lifetime parameters, found 1 lifetime parameter |
| 181 | +error[E0090]: wrong number of lifetime arguments: expected 2, found 1 |
182 | 182 | --> $DIR/method-call-lifetime-args-fail.rs:73:5 |
183 | 183 | | |
184 | 184 | LL | S::early::<'static>(S); |
185 | | - | ^^^^^^^^^^^^^^^^^^^ expected 2 lifetime parameters |
| 185 | + | ^^^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
186 | 186 |
|
187 | | -error[E0088]: too many lifetime parameters provided: expected at most 2 lifetime parameters, found 3 lifetime parameters |
188 | | - --> $DIR/method-call-lifetime-args-fail.rs:75:34 |
| 187 | +error[E0088]: wrong number of lifetime arguments: expected 2, found 3 |
| 188 | + --> $DIR/method-call-lifetime-args-fail.rs:75:5 |
189 | 189 | | |
190 | 190 | LL | S::early::<'static, 'static, 'static>(S); |
191 | | - | ^^^^^^^ expected 2 lifetime parameters |
| 191 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected lifetime argument |
192 | 192 |
|
193 | 193 | error: aborting due to 18 previous errors |
194 | 194 |
|
|
0 commit comments