]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-lifetime/where-clauses.stderr
normalize stderr
[rust.git] / src / test / ui / underscore-lifetime / where-clauses.stderr
1 error[E0637]: `'_` cannot be used here
2   --> $DIR/where-clauses.rs:3:10
3    |
4 LL | impl<'b: '_> Foo<'b> for i32 {}
5    |          ^^ `'_` is a reserved lifetime name
6
7 error[E0637]: `'_` cannot be used here
8   --> $DIR/where-clauses.rs:5:9
9    |
10 LL | impl<T: '_> Foo<'static> for Vec<T> {}
11    |         ^^ `'_` is a reserved lifetime name
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0637`.