2018-10-11 14:51:44 -05:00
|
|
|
error[E0637]: `'_` cannot be used here
|
2018-10-19 15:39:41 -05:00
|
|
|
--> $DIR/where-clauses.rs:3:10
|
2018-10-11 14:51:44 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<'b: '_> Foo<'b> for i32 {}
|
2018-10-11 14:51:44 -05:00
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
2018-10-19 15:39:41 -05:00
|
|
|
error[E0637]: `'_` cannot be used here
|
|
|
|
--> $DIR/where-clauses.rs:5:9
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<T: '_> Foo<'static> for Vec<T> {}
|
2018-10-19 15:39:41 -05:00
|
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-10-11 14:51:44 -05:00
|
|
|
|
2020-02-07 11:44:31 -06:00
|
|
|
For more information about this error, try `rustc --explain E0637`.
|