]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0637.stderr
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / error-codes / E0637.stderr
1 error[E0637]: `'_` cannot be used here
2   --> $DIR/E0637.rs:1:16
3    |
4 LL | struct Foo<'a: '_>(&'a u8);
5    |                ^^ `'_` is a reserved lifetime name
6
7 error[E0637]: `'_` cannot be used here
8   --> $DIR/E0637.rs:2:12
9    |
10 LL | fn foo<'a: '_>(_: &'a u8) {}
11    |            ^^ `'_` is a reserved lifetime name
12
13 error[E0637]: `'_` cannot be used here
14   --> $DIR/E0637.rs:5:10
15    |
16 LL | impl<'a: '_> Bar<'a> {
17    |          ^^ `'_` is a reserved lifetime name
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0637`.