@@ -75,8 +75,30 @@ LL | type Out<'x, D>;
75
75
= note: this bound is currently required to ensure that impls have maximum flexibility
76
76
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
77
77
78
+ warning: missing recommended bound on `Bar`
79
+ --> $DIR/self-outlives-lint.rs:107:5
80
+ |
81
+ LL | type Bar;
82
+ | ^^^^^^^^-
83
+ | |
84
+ | help: add the recommended where clause: `where Self: 'a`
85
+ |
86
+ = note: this bound is currently recommended to ensure that impls have maximum flexibility
87
+ = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
88
+
89
+ warning: missing recommended bound on `Output`
90
+ --> $DIR/self-outlives-lint.rs:115:5
91
+ |
92
+ LL | type Output;
93
+ | ^^^^^^^^^^^-
94
+ | |
95
+ | help: add the recommended where clause: `where Self: 'a`
96
+ |
97
+ = note: this bound is currently recommended to ensure that impls have maximum flexibility
98
+ = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
99
+
78
100
error: missing required bounds on `Bar`
79
- --> $DIR/self-outlives-lint.rs:114 :5
101
+ --> $DIR/self-outlives-lint.rs:124 :5
80
102
|
81
103
LL | type Bar<'b>;
82
104
| ^^^^^^^^^^^^-
@@ -87,7 +109,7 @@ LL | type Bar<'b>;
87
109
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
88
110
89
111
error: missing required bound on `Bar`
90
- --> $DIR/self-outlives-lint.rs:122 :5
112
+ --> $DIR/self-outlives-lint.rs:132 :5
91
113
|
92
114
LL | type Bar<'b>;
93
115
| ^^^^^^^^^^^^-
@@ -98,7 +120,7 @@ LL | type Bar<'b>;
98
120
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
99
121
100
122
error: missing required bound on `Bar`
101
- --> $DIR/self-outlives-lint.rs:129 :5
123
+ --> $DIR/self-outlives-lint.rs:139 :5
102
124
|
103
125
LL | type Bar<'b>;
104
126
| ^^^^^^^^^^^^-
@@ -109,7 +131,7 @@ LL | type Bar<'b>;
109
131
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
110
132
111
133
error: missing required bound on `Iterator`
112
- --> $DIR/self-outlives-lint.rs:143 :5
134
+ --> $DIR/self-outlives-lint.rs:153 :5
113
135
|
114
136
LL | type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
115
137
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
@@ -120,7 +142,7 @@ LL | type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
120
142
= note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
121
143
122
144
error: missing required bound on `Bar`
123
- --> $DIR/self-outlives-lint.rs:151 :5
145
+ --> $DIR/self-outlives-lint.rs:161 :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:177 :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 13 previous errors; 2 warnings emitted
145
167
0 commit comments