@@ -6,7 +6,7 @@ LL | fn foo(x: &'x u8) -> &'x u8 { x }
66 | |
77 | help: consider introducing lifetime `'x` here: `<'x>`
88 |
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
1010
1111error[E0261]: use of undeclared lifetime name `'x`
1212 --> $DIR/feature-gate-in_band_lifetimes.rs:3:23
@@ -16,7 +16,7 @@ LL | fn foo(x: &'x u8) -> &'x u8 { x }
1616 | |
1717 | help: consider introducing lifetime `'x` here: `<'x>`
1818 |
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
2020
2121error[E0261]: use of undeclared lifetime name `'b`
2222 --> $DIR/feature-gate-in_band_lifetimes.rs:15:12
@@ -32,7 +32,7 @@ error[E0261]: use of undeclared lifetime name `'b`
3232LL | fn inner_2(&self) -> &'b u8 {
3333 | ^^ undeclared lifetime
3434 |
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
3636help: consider introducing lifetime `'b` here
3737 |
3838LL | impl<'b, 'a> X<'b> {
@@ -50,15 +50,15 @@ LL | impl X<'b> {
5050 | |
5151 | help: consider introducing lifetime `'b` here: `<'b>`
5252 |
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
5454
5555error[E0261]: use of undeclared lifetime name `'b`
5656 --> $DIR/feature-gate-in_band_lifetimes.rs:25:27
5757 |
5858LL | fn inner_3(&self) -> &'b u8 {
5959 | ^^ undeclared lifetime
6060 |
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
6262help: consider introducing lifetime `'b` here
6363 |
6464LL | impl<'b> X<'b> {
@@ -76,15 +76,15 @@ LL | impl Y<&'a u8> {
7676 | |
7777 | help: consider introducing lifetime `'a` here: `<'a>`
7878 |
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
8080
8181error[E0261]: use of undeclared lifetime name `'a`
8282 --> $DIR/feature-gate-in_band_lifetimes.rs:35:25
8383 |
8484LL | fn inner(&self) -> &'a u8 {
8585 | ^^ undeclared lifetime
8686 |
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
8888help: consider introducing lifetime `'a` here
8989 |
9090LL | impl<'a> Y<&'a u8> {
@@ -100,7 +100,7 @@ error[E0261]: use of undeclared lifetime name `'b`
100100LL | fn any_lifetime() -> &'b u8;
101101 | ^^ undeclared lifetime
102102 |
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
104104help: consider introducing lifetime `'b` here
105105 |
106106LL | trait MyTrait<'b, 'a> {
@@ -116,7 +116,7 @@ error[E0261]: use of undeclared lifetime name `'b`
116116LL | fn borrowed_lifetime(&'b self) -> &'b u8;
117117 | ^^ undeclared lifetime
118118 |
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
120120help: consider introducing lifetime `'b` here
121121 |
122122LL | trait MyTrait<'b, 'a> {
@@ -132,7 +132,7 @@ error[E0261]: use of undeclared lifetime name `'b`
132132LL | fn borrowed_lifetime(&'b self) -> &'b u8;
133133 | ^^ undeclared lifetime
134134 |
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
136136help: consider introducing lifetime `'b` here
137137 |
138138LL | trait MyTrait<'b, 'a> {
@@ -150,7 +150,7 @@ LL | impl MyTrait<'a> for Y<&'a u8> {
150150 | |
151151 | help: consider introducing lifetime `'a` here: `<'a>`
152152 |
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
154154
155155error[E0261]: use of undeclared lifetime name `'a`
156156 --> $DIR/feature-gate-in_band_lifetimes.rs:50:25
@@ -160,15 +160,15 @@ LL | impl MyTrait<'a> for Y<&'a u8> {
160160 | |
161161 | help: consider introducing lifetime `'a` here: `<'a>`
162162 |
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
164164
165165error[E0261]: use of undeclared lifetime name `'a`
166166 --> $DIR/feature-gate-in_band_lifetimes.rs:53:31
167167 |
168168LL | fn my_lifetime(&self) -> &'a u8 { self.0 }
169169 | ^^ undeclared lifetime
170170 |
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
172172help: consider introducing lifetime `'a` here
173173 |
174174LL | impl<'a> MyTrait<'a> for Y<&'a u8> {
@@ -184,7 +184,7 @@ error[E0261]: use of undeclared lifetime name `'b`
184184LL | fn any_lifetime() -> &'b u8 { &0 }
185185 | ^^ undeclared lifetime
186186 |
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
188188help: consider introducing lifetime `'b` here
189189 |
190190LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
@@ -200,7 +200,7 @@ error[E0261]: use of undeclared lifetime name `'b`
200200LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
201201 | ^^ undeclared lifetime
202202 |
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
204204help: consider introducing lifetime `'b` here
205205 |
206206LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
@@ -216,7 +216,7 @@ error[E0261]: use of undeclared lifetime name `'b`
216216LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
217217 | ^^ undeclared lifetime
218218 |
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
220220help: consider introducing lifetime `'b` here
221221 |
222222LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
0 commit comments