summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0637.stderr
blob: d19ebfd15a52cd341a22a7107c3544ece3a295ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0637]: `'_` cannot be used here
  --> $DIR/E0637.rs:1:16
   |
LL | struct Foo<'a: '_>(&'a u8);
   |                ^^ `'_` is a reserved lifetime name

error[E0637]: `'_` cannot be used here
  --> $DIR/E0637.rs:2:12
   |
LL | fn foo<'a: '_>(_: &'a u8) {}
   |            ^^ `'_` is a reserved lifetime name

error[E0637]: `'_` cannot be used here
  --> $DIR/E0637.rs:5:10
   |
LL | impl<'a: '_> Bar<'a> {
   |          ^^ `'_` is a reserved lifetime name

error: aborting due to 3 previous errors

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