summaryrefslogtreecommitdiffstats
path: root/tests/ui/underscore-lifetime/where-clauses.stderr
blob: 1a3ea4af7e12e78788747dbc085c2b602f75c5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0637]: `'_` cannot be used here
  --> $DIR/where-clauses.rs:3:10
   |
LL | impl<'b: '_> Foo<'b> for i32 {}
   |          ^^ `'_` is a reserved lifetime name

error[E0637]: `'_` cannot be used here
  --> $DIR/where-clauses.rs:5:9
   |
LL | impl<T: '_> Foo<'static> for Vec<T> {}
   |         ^^ `'_` is a reserved lifetime name

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0637`.