1
1
error: missing required bound on `Item`
2
- --> $DIR/self-outlives-lint.rs:9 :5
2
+ --> $DIR/self-outlives-lint.rs:7 :5
3
3
|
4
4
LL | type Item<'x>;
5
5
| ^^^^^^^^^^^^^-
@@ -10,7 +10,7 @@ LL | type Item<'x>;
10
10
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
11
11
12
12
error: missing required bound on `Out`
13
- --> $DIR/self-outlives-lint.rs:25 :5
13
+ --> $DIR/self-outlives-lint.rs:23 :5
14
14
|
15
15
LL | type Out<'x>;
16
16
| ^^^^^^^^^^^^-
@@ -21,7 +21,7 @@ LL | type Out<'x>;
21
21
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
22
22
23
23
error: missing required bound on `Out`
24
- --> $DIR/self-outlives-lint.rs:39 :5
24
+ --> $DIR/self-outlives-lint.rs:37 :5
25
25
|
26
26
LL | type Out<'x>;
27
27
| ^^^^^^^^^^^^-
@@ -32,7 +32,7 @@ LL | type Out<'x>;
32
32
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
33
33
34
34
error: missing required bounds on `Out`
35
- --> $DIR/self-outlives-lint.rs:46 :5
35
+ --> $DIR/self-outlives-lint.rs:44 :5
36
36
|
37
37
LL | type Out<'x, 'y>;
38
38
| ^^^^^^^^^^^^^^^^-
@@ -43,7 +43,7 @@ LL | type Out<'x, 'y>;
43
43
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
44
44
45
45
error: missing required bound on `Out`
46
- --> $DIR/self-outlives-lint.rs:61 :5
46
+ --> $DIR/self-outlives-lint.rs:59 :5
47
47
|
48
48
LL | type Out<'x, D>;
49
49
| ^^^^^^^^^^^^^^^-
@@ -54,7 +54,7 @@ LL | type Out<'x, D>;
54
54
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
55
55
56
56
error: missing required bound on `Out`
57
- --> $DIR/self-outlives-lint.rs:77 :5
57
+ --> $DIR/self-outlives-lint.rs:75 :5
58
58
|
59
59
LL | type Out<'x, D>;
60
60
| ^^^^^^^^^^^^^^^-
@@ -65,7 +65,7 @@ LL | type Out<'x, D>;
65
65
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
66
66
67
67
error: missing required bound on `Out`
68
- --> $DIR/self-outlives-lint.rs:92 :5
68
+ --> $DIR/self-outlives-lint.rs:90 :5
69
69
|
70
70
LL | type Out<'x, D>;
71
71
| ^^^^^^^^^^^^^^^-
@@ -76,7 +76,7 @@ LL | type Out<'x, D>;
76
76
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
77
77
78
78
error: missing required bounds on `Bar`
79
- --> $DIR/self-outlives-lint.rs:114 :5
79
+ --> $DIR/self-outlives-lint.rs:112 :5
80
80
|
81
81
LL | type Bar<'b>;
82
82
| ^^^^^^^^^^^^-
@@ -87,7 +87,7 @@ LL | type Bar<'b>;
87
87
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
88
88
89
89
error: missing required bound on `Bar`
90
- --> $DIR/self-outlives-lint.rs:122 :5
90
+ --> $DIR/self-outlives-lint.rs:119 :5
91
91
|
92
92
LL | type Bar<'b>;
93
93
| ^^^^^^^^^^^^-
@@ -98,7 +98,7 @@ LL | type Bar<'b>;
98
98
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
99
99
100
100
error: missing required bound on `Bar`
101
- --> $DIR/self-outlives-lint.rs:129 :5
101
+ --> $DIR/self-outlives-lint.rs:126 :5
102
102
|
103
103
LL | type Bar<'b>;
104
104
| ^^^^^^^^^^^^-
@@ -108,8 +108,19 @@ LL | type Bar<'b>;
108
108
= note: this bound is currently required to ensure that impls have maximum flexibility
109
109
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
110
110
111
+ error: missing required bound on `Item`
112
+ --> $DIR/self-outlives-lint.rs:139:5
113
+ |
114
+ LL | type Item<'a>;
115
+ | ^^^^^^^^^^^^^-
116
+ | |
117
+ | help: add the required where clause: `where Self: 'a`
118
+ |
119
+ = note: this bound is currently required to ensure that impls have maximum flexibility
120
+ = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
121
+
111
122
error: missing required bound on `Iterator`
112
- --> $DIR/self-outlives-lint.rs:143 :5
123
+ --> $DIR/self-outlives-lint.rs:141 :5
113
124
|
114
125
LL | type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
115
126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
@@ -119,8 +130,19 @@ LL | type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
119
130
= note: this bound is currently required to ensure that impls have maximum flexibility
120
131
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
121
132
133
+ error: missing required bound on `Item`
134
+ --> $DIR/self-outlives-lint.rs:147:5
135
+ |
136
+ LL | type Item<'a>;
137
+ | ^^^^^^^^^^^^^-
138
+ | |
139
+ | help: add the required where clause: `where Self: 'a`
140
+ |
141
+ = note: this bound is currently required to ensure that impls have maximum flexibility
142
+ = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
143
+
122
144
error: missing required bound on `Bar`
123
- --> $DIR/self-outlives-lint.rs:151 :5
145
+ --> $DIR/self-outlives-lint.rs:156 :5
124
146
|
125
147
LL | type Bar<'a, 'b>;
126
148
| ^^^^^^^^^^^^^^^^-
@@ -131,7 +153,7 @@ LL | type Bar<'a, 'b>;
131
153
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
132
154
133
155
error: missing required bound on `Fut`
134
- --> $DIR/self-outlives-lint.rs:167 :5
156
+ --> $DIR/self-outlives-lint.rs:172 :5
135
157
|
136
158
LL | type Fut<'out>;
137
159
| ^^^^^^^^^^^^^^-
@@ -141,5 +163,5 @@ LL | type Fut<'out>;
141
163
= note: this bound is currently required to ensure that impls have maximum flexibility
142
164
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
143
165
144
- error: aborting due to 13 previous errors
166
+ error: aborting due to 15 previous errors
145
167
0 commit comments