|
1 | 1 | error[E0261]: use of undeclared lifetime name `'x`
|
2 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:16:12 |
| 2 | + --> $DIR/feature-gate-in_band_lifetimes.rs:13:12 |
3 | 3 | |
|
4 | 4 | LL | fn foo(x: &'x u8) -> &'x u8 { x }
|
5 | 5 | | ^^ undeclared lifetime
|
6 | 6 |
|
7 | 7 | error[E0261]: use of undeclared lifetime name `'x`
|
8 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:16:23 |
| 8 | + --> $DIR/feature-gate-in_band_lifetimes.rs:13:23 |
9 | 9 | |
|
10 | 10 | LL | fn foo(x: &'x u8) -> &'x u8 { x }
|
11 | 11 | | ^^ undeclared lifetime
|
12 | 12 |
|
13 | 13 | error[E0261]: use of undeclared lifetime name `'b`
|
14 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:28:12 |
| 14 | + --> $DIR/feature-gate-in_band_lifetimes.rs:25:12 |
15 | 15 | |
|
16 | 16 | LL | impl<'a> X<'b> {
|
17 | 17 | | ^^ undeclared lifetime
|
18 | 18 |
|
19 | 19 | error[E0261]: use of undeclared lifetime name `'b`
|
20 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:30:27 |
| 20 | + --> $DIR/feature-gate-in_band_lifetimes.rs:27:27 |
21 | 21 | |
|
22 | 22 | LL | fn inner_2(&self) -> &'b u8 {
|
23 | 23 | | ^^ undeclared lifetime
|
24 | 24 |
|
25 | 25 | error[E0261]: use of undeclared lifetime name `'b`
|
26 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:36:8 |
| 26 | + --> $DIR/feature-gate-in_band_lifetimes.rs:33:8 |
27 | 27 | |
|
28 | 28 | LL | impl X<'b> {
|
29 | 29 | | ^^ undeclared lifetime
|
30 | 30 |
|
31 | 31 | error[E0261]: use of undeclared lifetime name `'b`
|
32 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:38:27 |
| 32 | + --> $DIR/feature-gate-in_band_lifetimes.rs:35:27 |
33 | 33 | |
|
34 | 34 | LL | fn inner_3(&self) -> &'b u8 {
|
35 | 35 | | ^^ undeclared lifetime
|
36 | 36 |
|
37 | 37 | error[E0261]: use of undeclared lifetime name `'a`
|
38 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:46:9 |
| 38 | + --> $DIR/feature-gate-in_band_lifetimes.rs:43:9 |
39 | 39 | |
|
40 | 40 | LL | impl Y<&'a u8> {
|
41 | 41 | | ^^ undeclared lifetime
|
42 | 42 |
|
43 | 43 | error[E0261]: use of undeclared lifetime name `'a`
|
44 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:48:25 |
| 44 | + --> $DIR/feature-gate-in_band_lifetimes.rs:45:25 |
45 | 45 | |
|
46 | 46 | LL | fn inner(&self) -> &'a u8 {
|
47 | 47 | | ^^ undeclared lifetime
|
48 | 48 |
|
49 | 49 | error[E0261]: use of undeclared lifetime name `'b`
|
50 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:56:27 |
| 50 | + --> $DIR/feature-gate-in_band_lifetimes.rs:53:27 |
51 | 51 | |
|
52 | 52 | LL | fn any_lifetime() -> &'b u8;
|
53 | 53 | | ^^ undeclared lifetime
|
54 | 54 |
|
55 | 55 | error[E0261]: use of undeclared lifetime name `'b`
|
56 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:58:27 |
| 56 | + --> $DIR/feature-gate-in_band_lifetimes.rs:55:27 |
57 | 57 | |
|
58 | 58 | LL | fn borrowed_lifetime(&'b self) -> &'b u8;
|
59 | 59 | | ^^ undeclared lifetime
|
60 | 60 |
|
61 | 61 | error[E0261]: use of undeclared lifetime name `'b`
|
62 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:58:40 |
| 62 | + --> $DIR/feature-gate-in_band_lifetimes.rs:55:40 |
63 | 63 | |
|
64 | 64 | LL | fn borrowed_lifetime(&'b self) -> &'b u8;
|
65 | 65 | | ^^ undeclared lifetime
|
66 | 66 |
|
67 | 67 | error[E0261]: use of undeclared lifetime name `'a`
|
68 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:63:14 |
| 68 | + --> $DIR/feature-gate-in_band_lifetimes.rs:60:14 |
69 | 69 | |
|
70 | 70 | LL | impl MyTrait<'a> for Y<&'a u8> {
|
71 | 71 | | ^^ undeclared lifetime
|
72 | 72 |
|
73 | 73 | error[E0261]: use of undeclared lifetime name `'a`
|
74 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:63:25 |
| 74 | + --> $DIR/feature-gate-in_band_lifetimes.rs:60:25 |
75 | 75 | |
|
76 | 76 | LL | impl MyTrait<'a> for Y<&'a u8> {
|
77 | 77 | | ^^ undeclared lifetime
|
78 | 78 |
|
79 | 79 | error[E0261]: use of undeclared lifetime name `'a`
|
80 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:66:31 |
| 80 | + --> $DIR/feature-gate-in_band_lifetimes.rs:63:31 |
81 | 81 | |
|
82 | 82 | LL | fn my_lifetime(&self) -> &'a u8 { self.0 }
|
83 | 83 | | ^^ undeclared lifetime
|
84 | 84 |
|
85 | 85 | error[E0261]: use of undeclared lifetime name `'b`
|
86 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:68:27 |
| 86 | + --> $DIR/feature-gate-in_band_lifetimes.rs:65:27 |
87 | 87 | |
|
88 | 88 | LL | fn any_lifetime() -> &'b u8 { &0 }
|
89 | 89 | | ^^ undeclared lifetime
|
90 | 90 |
|
91 | 91 | error[E0261]: use of undeclared lifetime name `'b`
|
92 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:70:27 |
| 92 | + --> $DIR/feature-gate-in_band_lifetimes.rs:67:27 |
93 | 93 | |
|
94 | 94 | LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
|
95 | 95 | | ^^ undeclared lifetime
|
96 | 96 |
|
97 | 97 | error[E0261]: use of undeclared lifetime name `'b`
|
98 |
| - --> $DIR/feature-gate-in_band_lifetimes.rs:70:40 |
| 98 | + --> $DIR/feature-gate-in_band_lifetimes.rs:67:40 |
99 | 99 | |
|
100 | 100 | LL | fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
|
101 | 101 | | ^^ undeclared lifetime
|
|
0 commit comments