@@ -108,17 +108,6 @@ 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 `Iterator`
112
- --> $DIR/self-outlives-lint.rs:142:5
113
- |
114
- LL | type Iterator<'a>: Iterator<Item = Self::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
-
122
111
error: missing required bound on `Item`
123
112
--> $DIR/self-outlives-lint.rs:140:5
124
113
|
@@ -130,6 +119,17 @@ LL | type Item<'a>;
130
119
= note: this bound is currently required to ensure that impls have maximum flexibility
131
120
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
132
121
122
+ error: missing required bound on `Iterator`
123
+ --> $DIR/self-outlives-lint.rs:142:5
124
+ |
125
+ LL | type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
126
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
127
+ | |
128
+ | help: add the required where clause: `where Self: 'a`
129
+ |
130
+ = note: this bound is currently required to ensure that impls have maximum flexibility
131
+ = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
132
+
133
133
error: missing required bound on `Item`
134
134
--> $DIR/self-outlives-lint.rs:148:5
135
135
|
0 commit comments