@@ -3,36 +3,48 @@ error[E0637]: `'_` cannot be used here
3
3
|
4
4
LL | impl<'_> IceCube<'_> {}
5
5
| ^^ `'_` is a reserved lifetime name
6
+ |
7
+ = help: use another lifetime specifier
6
8
7
9
error[E0637]: `'_` cannot be used here
8
10
--> $DIR/in-binder.rs:12:15
9
11
|
10
12
LL | struct Struct<'_> {
11
13
| ^^ `'_` is a reserved lifetime name
14
+ |
15
+ = help: use another lifetime specifier
12
16
13
17
error[E0637]: `'_` cannot be used here
14
18
--> $DIR/in-binder.rs:17:11
15
19
|
16
20
LL | enum Enum<'_> {
17
21
| ^^ `'_` is a reserved lifetime name
22
+ |
23
+ = help: use another lifetime specifier
18
24
19
25
error[E0637]: `'_` cannot be used here
20
26
--> $DIR/in-binder.rs:22:13
21
27
|
22
28
LL | union Union<'_> {
23
29
| ^^ `'_` is a reserved lifetime name
30
+ |
31
+ = help: use another lifetime specifier
24
32
25
33
error[E0637]: `'_` cannot be used here
26
34
--> $DIR/in-binder.rs:27:13
27
35
|
28
36
LL | trait Trait<'_> {
29
37
| ^^ `'_` is a reserved lifetime name
38
+ |
39
+ = help: use another lifetime specifier
30
40
31
41
error[E0637]: `'_` cannot be used here
32
42
--> $DIR/in-binder.rs:31:8
33
43
|
34
44
LL | fn foo<'_>() {
35
45
| ^^ `'_` is a reserved lifetime name
46
+ |
47
+ = help: use another lifetime specifier
36
48
37
49
error: aborting due to 6 previous errors
38
50
0 commit comments