@@ -108,17 +108,6 @@ LL | type Bar<'b>;
108108 = note: this bound is currently required to ensure that impls have maximum flexibility
109109 = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
110110
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-
122111error: missing required bound on `Item`
123112 --> $DIR/self-outlives-lint.rs:140:5
124113 |
@@ -130,6 +119,17 @@ LL | type Item<'a>;
130119 = note: this bound is currently required to ensure that impls have maximum flexibility
131120 = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
132121
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+
133133error: missing required bound on `Item`
134134 --> $DIR/self-outlives-lint.rs:148:5
135135 |
0 commit comments