]> git.lizzy.rs Git - rust.git/blob - tests/ui/underscore-lifetime/in-binder.stderr
Rollup merge of #107086 - clubby789:bootstrap-lock-pid-linux, r=albertlarsan68
[rust.git] / tests / ui / underscore-lifetime / in-binder.stderr
1 error[E0637]: `'_` cannot be used here
2   --> $DIR/in-binder.rs:9:6
3    |
4 LL | impl<'_> IceCube<'_> {}
5    |      ^^ `'_` is a reserved lifetime name
6
7 error[E0637]: `'_` cannot be used here
8   --> $DIR/in-binder.rs:12:15
9    |
10 LL | struct Struct<'_> {
11    |               ^^ `'_` is a reserved lifetime name
12
13 error[E0637]: `'_` cannot be used here
14   --> $DIR/in-binder.rs:17:11
15    |
16 LL | enum Enum<'_> {
17    |           ^^ `'_` is a reserved lifetime name
18
19 error[E0637]: `'_` cannot be used here
20   --> $DIR/in-binder.rs:22:13
21    |
22 LL | union Union<'_> {
23    |             ^^ `'_` is a reserved lifetime name
24
25 error[E0637]: `'_` cannot be used here
26   --> $DIR/in-binder.rs:27:13
27    |
28 LL | trait Trait<'_> {
29    |             ^^ `'_` is a reserved lifetime name
30
31 error[E0637]: `'_` cannot be used here
32   --> $DIR/in-binder.rs:31:8
33    |
34 LL | fn foo<'_>() {
35    |        ^^ `'_` is a reserved lifetime name
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0637`.