@@ -6,7 +6,7 @@ LL | fn foo(x: &'x u8) -> &'x u8 { x }
6
6
| |
7
7
| help: consider introducing lifetime `'x` here: `<'x>`
8
8
|
9
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
9
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
10
10
11
11
error[E0261]: use of undeclared lifetime name `'x`
12
12
--> $DIR/feature-gate-in_band_lifetimes.rs:3:23
@@ -16,7 +16,7 @@ LL | fn foo(x: &'x u8) -> &'x u8 { x }
16
16
| |
17
17
| help: consider introducing lifetime `'x` here: `<'x>`
18
18
|
19
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
19
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
20
20
21
21
error[E0261]: use of undeclared lifetime name `'b`
22
22
--> $DIR/feature-gate-in_band_lifetimes.rs:15:12
@@ -32,7 +32,7 @@ error[E0261]: use of undeclared lifetime name `'b`
32
32
LL | fn inner_2(&self) -> &'b u8 {
33
33
| ^^ undeclared lifetime
34
34
|
35
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
35
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
36
36
help: consider introducing lifetime `'b` here
37
37
|
38
38
LL | impl<'b, 'a> X<'b> {
@@ -50,15 +50,15 @@ LL | impl X<'b> {
50
50
| |
51
51
| help: consider introducing lifetime `'b` here: `<'b>`
52
52
|
53
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
53
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
54
54
55
55
error[E0261]: use of undeclared lifetime name `'b`
56
56
--> $DIR/feature-gate-in_band_lifetimes.rs:25:27
57
57
|
58
58
LL | fn inner_3(&self) -> &'b u8 {
59
59
| ^^ undeclared lifetime
60
60
|
61
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
61
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
62
62
help: consider introducing lifetime `'b` here
63
63
|
64
64
LL | impl<'b> X<'b> {
@@ -76,15 +76,15 @@ LL | impl Y<&'a u8> {
76
76
| |
77
77
| help: consider introducing lifetime `'a` here: `<'a>`
78
78
|
79
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
79
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
80
80
81
81
error[E0261]: use of undeclared lifetime name `'a`
82
82
--> $DIR/feature-gate-in_band_lifetimes.rs:35:25
83
83
|
84
84
LL | fn inner(&self) -> &'a u8 {
85
85
| ^^ undeclared lifetime
86
86
|
87
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
87
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
88
88
help: consider introducing lifetime `'a` here
89
89
|
90
90
LL | impl<'a> Y<&'a u8> {
@@ -100,7 +100,7 @@ error[E0261]: use of undeclared lifetime name `'b`
100
100
LL | fn any_lifetime() -> &'b u8;
101
101
| ^^ undeclared lifetime
102
102
|
103
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
103
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
104
104
help: consider introducing lifetime `'b` here
105
105
|
106
106
LL | trait MyTrait<'b, 'a> {
@@ -116,7 +116,7 @@ error[E0261]: use of undeclared lifetime name `'b`
116
116
LL | fn borrowed_lifetime(&'b self) -> &'b u8;
117
117
| ^^ undeclared lifetime
118
118
|
119
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
119
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
120
120
help: consider introducing lifetime `'b` here
121
121
|
122
122
LL | trait MyTrait<'b, 'a> {
@@ -132,7 +132,7 @@ error[E0261]: use of undeclared lifetime name `'b`
132
132
LL | fn borrowed_lifetime(&'b self) -> &'b u8;
133
133
| ^^ undeclared lifetime
134
134
|
135
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
135
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
136
136
help: consider introducing lifetime `'b` here
137
137
|
138
138
LL | trait MyTrait<'b, 'a> {
@@ -150,7 +150,7 @@ LL | impl MyTrait<'a> for Y<&'a u8> {
150
150
| |
151
151
| help: consider introducing lifetime `'a` here: `<'a>`
152
152
|
153
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
153
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
154
154
155
155
error[E0261]: use of undeclared lifetime name `'a`
156
156
--> $DIR/feature-gate-in_band_lifetimes.rs:50:25
@@ -160,15 +160,15 @@ LL | impl MyTrait<'a> for Y<&'a u8> {
160
160
| |
161
161
| help: consider introducing lifetime `'a` here: `<'a>`
162
162
|
163
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
163
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
164
164
165
165
error[E0261]: use of undeclared lifetime name `'a`
166
166
--> $DIR/feature-gate-in_band_lifetimes.rs:53:31
167
167
|
168
168
LL | fn my_lifetime(&self) -> &'a u8 { self.0 }
169
169
| ^^ undeclared lifetime
170
170
|
171
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
171
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
172
172
help: consider introducing lifetime `'a` here
173
173
|
174
174
LL | impl<'a> MyTrait<'a> for Y<&'a u8> {
@@ -184,7 +184,7 @@ error[E0261]: use of undeclared lifetime name `'b`
184
184
LL | fn any_lifetime() -> &'b u8 { &0 }
185
185
| ^^ undeclared lifetime
186
186
|
187
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
187
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
188
188
help: consider introducing lifetime `'b` here
189
189
|
190
190
LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
@@ -200,7 +200,7 @@ error[E0261]: use of undeclared lifetime name `'b`
200
200
LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
201
201
| ^^ undeclared lifetime
202
202
|
203
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
203
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
204
204
help: consider introducing lifetime `'b` here
205
205
|
206
206
LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
@@ -216,7 +216,7 @@ error[E0261]: use of undeclared lifetime name `'b`
216
216
LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
217
217
| ^^ undeclared lifetime
218
218
|
219
- = help: if you want to use in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
219
+ = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
220
220
help: consider introducing lifetime `'b` here
221
221
|
222
222
LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
0 commit comments