]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/edition-lint-infer-outlives-multispan.stderr
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / ui / rust-2018 / edition-lint-infer-outlives-multispan.stderr
1 error: outlives requirements can be inferred
2   --> $DIR/edition-lint-infer-outlives-multispan.rs:13:47
3    |
4 LL |     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
5    |                                               ^^^^^     ^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/edition-lint-infer-outlives-multispan.rs:2:9
9    |
10 LL | #![deny(explicit_outlives_requirements)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 help: remove these bounds
13    |
14 LL -     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
15 LL +     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
16    |
17
18 error: outlives requirements can be inferred
19   --> $DIR/edition-lint-infer-outlives-multispan.rs:18:61
20    |
21 LL |     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
22    |                                                             ^^^^^     ^^^^^
23    |
24 help: remove these bounds
25    |
26 LL -     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
27 LL +     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
28    |
29
30 error: outlives requirements can be inferred
31   --> $DIR/edition-lint-infer-outlives-multispan.rs:23:53
32    |
33 LL |     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
34    |                                                     ^^^^^     ^^^^^
35    |
36 help: remove these bounds
37    |
38 LL -     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
39 LL +     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
40    |
41
42 error: outlives requirements can be inferred
43   --> $DIR/edition-lint-infer-outlives-multispan.rs:29:48
44    |
45 LL |     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
46    |                                                ^^^^     ^^^^^
47    |
48 help: remove these bounds
49    |
50 LL -     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
51 LL +     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
52    |
53
54 error: outlives requirements can be inferred
55   --> $DIR/edition-lint-infer-outlives-multispan.rs:35:48
56    |
57 LL |     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
58    |                                                ^^^^          ^^^^^
59    |
60 help: remove these bounds
61    |
62 LL -     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
63 LL +     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
64    |
65
66 error: outlives requirements can be inferred
67   --> $DIR/edition-lint-infer-outlives-multispan.rs:41:46
68    |
69 LL |     struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
70    |                                              ^^^^    ^^^^^^^^^^^^
71    |
72 help: remove these bounds
73    |
74 LL -     struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
75 LL +     struct TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
76    |
77
78 error: outlives requirements can be inferred
79   --> $DIR/edition-lint-infer-outlives-multispan.rs:47:67
80    |
81 LL |     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
82    |                                                                   ^^^^^     ^^^^^
83    |
84 help: remove these bounds
85    |
86 LL -     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
87 LL +     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
88    |
89
90 error: outlives requirements can be inferred
91   --> $DIR/edition-lint-infer-outlives-multispan.rs:53:53
92    |
93 LL |     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
94    |                                                     ^^^^              ^^^^^
95    |
96 help: remove these bounds
97    |
98 LL -     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
99 LL +     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
100    |
101
102 error: outlives requirements can be inferred
103   --> $DIR/edition-lint-infer-outlives-multispan.rs:59:53
104    |
105 LL |     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
106    |                                                     ^^^^                   ^^^^^
107    |
108 help: remove these bounds
109    |
110 LL -     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
111 LL +     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
112    |
113
114 error: outlives requirements can be inferred
115   --> $DIR/edition-lint-infer-outlives-multispan.rs:65:69
116    |
117 LL |     struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
118    |                                                                     ^^^^^^^   ^^^^^
119    |
120 help: remove these bounds
121    |
122 LL -     struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
123 LL +     struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
124    |
125
126 error: outlives requirements can be inferred
127   --> $DIR/edition-lint-infer-outlives-multispan.rs:71:69
128    |
129 LL |     struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
130    |                                                                     ^^^^^^^        ^^^^^
131    |
132 help: remove these bounds
133    |
134 LL -     struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
135 LL +     struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
136    |
137
138 error: outlives requirements can be inferred
139   --> $DIR/edition-lint-infer-outlives-multispan.rs:77:38
140    |
141 LL |     struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
142    |                                      ^^^^   ^^^^
143    |
144 help: remove these bounds
145    |
146 LL -     struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
147 LL +     struct BeeOutlivesAyTeeBee<'a, 'b, T> {
148    |
149
150 error: outlives requirements can be inferred
151   --> $DIR/edition-lint-infer-outlives-multispan.rs:82:40
152    |
153 LL |     struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
154    |                                        ^^^^   ^^^^^^^^^
155    |
156 help: remove these bounds
157    |
158 LL -     struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
159 LL +     struct BeeOutlivesAyTeeAyBee<'a, 'b, T> {
160    |
161
162 error: outlives requirements can be inferred
163   --> $DIR/edition-lint-infer-outlives-multispan.rs:87:55
164    |
165 LL |     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
166    |                                                       ^^^^     ^^^^^     ^^^^^
167    |
168 help: remove these bounds
169    |
170 LL -     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
171 LL +     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
172    |
173
174 error: outlives requirements can be inferred
175   --> $DIR/edition-lint-infer-outlives-multispan.rs:92:68
176    |
177 LL |     struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
178    |                                                                    ^^^^^^^^   ^^^^^     ^^^^^
179    |
180 help: remove these bounds
181    |
182 LL -     struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
183 LL +     struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
184    |
185
186 error: outlives requirements can be inferred
187   --> $DIR/edition-lint-infer-outlives-multispan.rs:97:58
188    |
189 LL |     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
190    |                                                          ^^^^        ^^^^^     ^^^^^
191    |
192 help: remove these bounds
193    |
194 LL -     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
195 LL +     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
196    |
197
198 error: outlives requirements can be inferred
199   --> $DIR/edition-lint-infer-outlives-multispan.rs:104:18
200    |
201 LL |         where U: 'a + Debug + 'b, 'b: 'a
202    |                  ^^^^^     ^^^^^  ^^^^^^
203    |
204 help: remove these bounds
205    |
206 LL -         where U: 'a + Debug + 'b, 'b: 'a
207 LL +         where U: Debug, 
208    |
209
210 error: outlives requirements can be inferred
211   --> $DIR/edition-lint-infer-outlives-multispan.rs:115:47
212    |
213 LL |     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b>(&'a &'b T);
214    |                                               ^^^^^     ^^^^^
215    |
216 help: remove these bounds
217    |
218 LL -     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b>(&'a &'b T);
219 LL +     struct TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug>(&'a &'b T);
220    |
221
222 error: outlives requirements can be inferred
223   --> $DIR/edition-lint-infer-outlives-multispan.rs:118:72
224    |
225 LL |     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: 'a + Debug + 'b;
226    |                                                                        ^^^^^     ^^^^^
227    |
228 help: remove these bounds
229    |
230 LL -     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: 'a + Debug + 'b;
231 LL +     struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: Debug;
232    |
233
234 error: outlives requirements can be inferred
235   --> $DIR/edition-lint-infer-outlives-multispan.rs:121:53
236    |
237 LL |     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b>(T, &'a &'b U);
238    |                                                     ^^^^^     ^^^^^
239    |
240 help: remove these bounds
241    |
242 LL -     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b>(T, &'a &'b U);
243 LL +     struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug>(T, &'a &'b U);
244    |
245
246 error: outlives requirements can be inferred
247   --> $DIR/edition-lint-infer-outlives-multispan.rs:124:48
248    |
249 LL |     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug>(&'a T, &'b U);
250    |                                                ^^^^     ^^^^^
251    |
252 help: remove these bounds
253    |
254 LL -     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug>(&'a T, &'b U);
255 LL +     struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug>(&'a T, &'b U);
256    |
257
258 error: outlives requirements can be inferred
259   --> $DIR/edition-lint-infer-outlives-multispan.rs:127:48
260    |
261 LL |     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b>(&'a T, &'b U);
262    |                                                ^^^^          ^^^^^
263    |
264 help: remove these bounds
265    |
266 LL -     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b>(&'a T, &'b U);
267 LL +     struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug>(&'a T, &'b U);
268    |
269
270 error: outlives requirements can be inferred
271   --> $DIR/edition-lint-infer-outlives-multispan.rs:130:46
272    |
273 LL |     struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b;
274    |                                              ^^^^                   ^^^^^^^^^^^
275    |
276 help: remove these bounds
277    |
278 LL -     struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b;
279 LL +     struct TeeOutlivesAyYooWhereBee<'a, 'b, T, U>(&'a T, &'b U) ;
280    |
281
282 error: outlives requirements can be inferred
283   --> $DIR/edition-lint-infer-outlives-multispan.rs:133:81
284    |
285 LL |     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + Debug + 'b;
286    |                                                                                 ^^^^^     ^^^^^
287    |
288 help: remove these bounds
289    |
290 LL -     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + Debug + 'b;
291 LL +     struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: Debug;
292    |
293
294 error: outlives requirements can be inferred
295   --> $DIR/edition-lint-infer-outlives-multispan.rs:136:53
296    |
297 LL |     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b + Debug;
298    |                                                     ^^^^                            ^^^^^
299    |
300 help: remove these bounds
301    |
302 LL -     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b + Debug;
303 LL +     struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
304    |
305
306 error: outlives requirements can be inferred
307   --> $DIR/edition-lint-infer-outlives-multispan.rs:139:53
308    |
309 LL |     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: Debug + 'b;
310    |                                                     ^^^^                                 ^^^^^
311    |
312 help: remove these bounds
313    |
314 LL -     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: Debug + 'b;
315 LL +     struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
316    |
317
318 error: outlives requirements can be inferred
319   --> $DIR/edition-lint-infer-outlives-multispan.rs:142:75
320    |
321 LL |     struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: 'b + Debug;
322    |                                                                           ^^^^^^^   ^^^^^
323    |
324 help: remove these bounds
325    |
326 LL -     struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: 'b + Debug;
327 LL +     struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
328    |
329
330 error: outlives requirements can be inferred
331   --> $DIR/edition-lint-infer-outlives-multispan.rs:145:75
332    |
333 LL |     struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: Debug + 'b;
334    |                                                                           ^^^^^^^        ^^^^^
335    |
336 help: remove these bounds
337    |
338 LL -     struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: Debug + 'b;
339 LL +     struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
340    |
341
342 error: outlives requirements can be inferred
343   --> $DIR/edition-lint-infer-outlives-multispan.rs:148:38
344    |
345 LL |     struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b>(&'a &'b T);
346    |                                      ^^^^   ^^^^
347    |
348 help: remove these bounds
349    |
350 LL -     struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b>(&'a &'b T);
351 LL +     struct BeeOutlivesAyTeeBee<'a, 'b, T>(&'a &'b T);
352    |
353
354 error: outlives requirements can be inferred
355   --> $DIR/edition-lint-infer-outlives-multispan.rs:151:40
356    |
357 LL |     struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b>(&'a &'b T);
358    |                                        ^^^^   ^^^^^^^^^
359    |
360 help: remove these bounds
361    |
362 LL -     struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b>(&'a &'b T);
363 LL +     struct BeeOutlivesAyTeeAyBee<'a, 'b, T>(&'a &'b T);
364    |
365
366 error: outlives requirements can be inferred
367   --> $DIR/edition-lint-infer-outlives-multispan.rs:154:55
368    |
369 LL |     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b>(&'a &'b T);
370    |                                                       ^^^^     ^^^^^     ^^^^^
371    |
372 help: remove these bounds
373    |
374 LL -     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b>(&'a &'b T);
375 LL +     struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug>(&'a &'b T);
376    |
377
378 error: outlives requirements can be inferred
379   --> $DIR/edition-lint-infer-outlives-multispan.rs:157:71
380    |
381 LL |     struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'a + Debug + 'b;
382    |                                                                       ^^^^^^^^   ^^^^^     ^^^^^
383    |
384 help: remove these bounds
385    |
386 LL -     struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'a + Debug + 'b;
387 LL +     struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: Debug;
388    |
389
390 error: outlives requirements can be inferred
391   --> $DIR/edition-lint-infer-outlives-multispan.rs:160:58
392    |
393 LL |     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b>(T, &'a &'b U);
394    |                                                          ^^^^        ^^^^^     ^^^^^
395    |
396 help: remove these bounds
397    |
398 LL -     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b>(T, &'a &'b U);
399 LL +     struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug>(T, &'a &'b U);
400    |
401
402 error: outlives requirements can be inferred
403   --> $DIR/edition-lint-infer-outlives-multispan.rs:164:18
404    |
405 LL |         where U: 'a + Debug + 'b, 'b: 'a;
406    |                  ^^^^^     ^^^^^  ^^^^^^
407    |
408 help: remove these bounds
409    |
410 LL -         where U: 'a + Debug + 'b, 'b: 'a;
411 LL +         where U: Debug, ;
412    |
413
414 error: outlives requirements can be inferred
415   --> $DIR/edition-lint-infer-outlives-multispan.rs:171:45
416    |
417 LL |     enum TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
418    |                                             ^^^^^     ^^^^^
419    |
420 help: remove these bounds
421    |
422 LL -     enum TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
423 LL +     enum TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
424    |
425
426 error: outlives requirements can be inferred
427   --> $DIR/edition-lint-infer-outlives-multispan.rs:176:59
428    |
429 LL |     enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
430    |                                                           ^^^^^     ^^^^^
431    |
432 help: remove these bounds
433    |
434 LL -     enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
435 LL +     enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
436    |
437
438 error: outlives requirements can be inferred
439   --> $DIR/edition-lint-infer-outlives-multispan.rs:181:51
440    |
441 LL |     enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
442    |                                                   ^^^^^     ^^^^^
443    |
444 help: remove these bounds
445    |
446 LL -     enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
447 LL +     enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
448    |
449
450 error: outlives requirements can be inferred
451   --> $DIR/edition-lint-infer-outlives-multispan.rs:187:46
452    |
453 LL |     enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
454    |                                              ^^^^     ^^^^^
455    |
456 help: remove these bounds
457    |
458 LL -     enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
459 LL +     enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
460    |
461
462 error: outlives requirements can be inferred
463   --> $DIR/edition-lint-infer-outlives-multispan.rs:193:46
464    |
465 LL |     enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
466    |                                              ^^^^          ^^^^^
467    |
468 help: remove these bounds
469    |
470 LL -     enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
471 LL +     enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
472    |
473
474 error: outlives requirements can be inferred
475   --> $DIR/edition-lint-infer-outlives-multispan.rs:199:44
476    |
477 LL |     enum TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
478    |                                            ^^^^    ^^^^^^^^^^^^
479    |
480 help: remove these bounds
481    |
482 LL -     enum TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
483 LL +     enum TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
484    |
485
486 error: outlives requirements can be inferred
487   --> $DIR/edition-lint-infer-outlives-multispan.rs:205:65
488    |
489 LL |     enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
490    |                                                                 ^^^^^     ^^^^^
491    |
492 help: remove these bounds
493    |
494 LL -     enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
495 LL +     enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
496    |
497
498 error: outlives requirements can be inferred
499   --> $DIR/edition-lint-infer-outlives-multispan.rs:211:51
500    |
501 LL |     enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
502    |                                                   ^^^^              ^^^^^
503    |
504 help: remove these bounds
505    |
506 LL -     enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
507 LL +     enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
508    |
509
510 error: outlives requirements can be inferred
511   --> $DIR/edition-lint-infer-outlives-multispan.rs:217:51
512    |
513 LL |     enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
514    |                                                   ^^^^                   ^^^^^
515    |
516 help: remove these bounds
517    |
518 LL -     enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
519 LL +     enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
520    |
521
522 error: outlives requirements can be inferred
523   --> $DIR/edition-lint-infer-outlives-multispan.rs:223:67
524    |
525 LL |     enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
526    |                                                                   ^^^^^^^   ^^^^^
527    |
528 help: remove these bounds
529    |
530 LL -     enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
531 LL +     enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
532    |
533
534 error: outlives requirements can be inferred
535   --> $DIR/edition-lint-infer-outlives-multispan.rs:229:67
536    |
537 LL |     enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
538    |                                                                   ^^^^^^^        ^^^^^
539    |
540 help: remove these bounds
541    |
542 LL -     enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
543 LL +     enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
544    |
545
546 error: outlives requirements can be inferred
547   --> $DIR/edition-lint-infer-outlives-multispan.rs:235:36
548    |
549 LL |     enum BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
550    |                                    ^^^^   ^^^^
551    |
552 help: remove these bounds
553    |
554 LL -     enum BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
555 LL +     enum BeeOutlivesAyTeeBee<'a, 'b, T> {
556    |
557
558 error: outlives requirements can be inferred
559   --> $DIR/edition-lint-infer-outlives-multispan.rs:240:38
560    |
561 LL |     enum BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
562    |                                      ^^^^   ^^^^^^^^^
563    |
564 help: remove these bounds
565    |
566 LL -     enum BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
567 LL +     enum BeeOutlivesAyTeeAyBee<'a, 'b, T> {
568    |
569
570 error: outlives requirements can be inferred
571   --> $DIR/edition-lint-infer-outlives-multispan.rs:246:53
572    |
573 LL |     enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
574    |                                                     ^^^^     ^^^^^     ^^^^^
575    |
576 help: remove these bounds
577    |
578 LL -     enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
579 LL +     enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
580    |
581
582 error: outlives requirements can be inferred
583   --> $DIR/edition-lint-infer-outlives-multispan.rs:251:66
584    |
585 LL |     enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
586    |                                                                  ^^^^^^^^   ^^^^^     ^^^^^
587    |
588 help: remove these bounds
589    |
590 LL -     enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
591 LL +     enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
592    |
593
594 error: outlives requirements can be inferred
595   --> $DIR/edition-lint-infer-outlives-multispan.rs:256:56
596    |
597 LL |     enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
598    |                                                        ^^^^        ^^^^^     ^^^^^
599    |
600 help: remove these bounds
601    |
602 LL -     enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
603 LL +     enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
604    |
605
606 error: outlives requirements can be inferred
607   --> $DIR/edition-lint-infer-outlives-multispan.rs:262:75
608    |
609 LL |     enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
610    |                                                                           ^^^^^     ^^^^^  ^^^^^^
611    |
612 help: remove these bounds
613    |
614 LL -     enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
615 LL +     enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug,  {
616    |
617
618 error: outlives requirements can be inferred
619   --> $DIR/edition-lint-infer-outlives-multispan.rs:271:46
620    |
621 LL |     union TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
622    |                                              ^^^^^     ^^^^^
623    |
624 help: remove these bounds
625    |
626 LL -     union TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
627 LL +     union TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
628    |
629
630 error: outlives requirements can be inferred
631   --> $DIR/edition-lint-infer-outlives-multispan.rs:276:60
632    |
633 LL |     union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
634    |                                                            ^^^^^     ^^^^^
635    |
636 help: remove these bounds
637    |
638 LL -     union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
639 LL +     union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
640    |
641
642 error: outlives requirements can be inferred
643   --> $DIR/edition-lint-infer-outlives-multispan.rs:281:52
644    |
645 LL |     union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
646    |                                                    ^^^^^     ^^^^^
647    |
648 help: remove these bounds
649    |
650 LL -     union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
651 LL +     union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
652    |
653
654 error: outlives requirements can be inferred
655   --> $DIR/edition-lint-infer-outlives-multispan.rs:287:47
656    |
657 LL |     union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
658    |                                               ^^^^     ^^^^^
659    |
660 help: remove these bounds
661    |
662 LL -     union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
663 LL +     union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
664    |
665
666 error: outlives requirements can be inferred
667   --> $DIR/edition-lint-infer-outlives-multispan.rs:293:47
668    |
669 LL |     union TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
670    |                                               ^^^^          ^^^^^
671    |
672 help: remove these bounds
673    |
674 LL -     union TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
675 LL +     union TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
676    |
677
678 error: outlives requirements can be inferred
679   --> $DIR/edition-lint-infer-outlives-multispan.rs:299:45
680    |
681 LL |     union TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
682    |                                             ^^^^    ^^^^^^^^^^^^
683    |
684 help: remove these bounds
685    |
686 LL -     union TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
687 LL +     union TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
688    |
689
690 error: outlives requirements can be inferred
691   --> $DIR/edition-lint-infer-outlives-multispan.rs:305:66
692    |
693 LL |     union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
694    |                                                                  ^^^^^     ^^^^^
695    |
696 help: remove these bounds
697    |
698 LL -     union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
699 LL +     union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
700    |
701
702 error: outlives requirements can be inferred
703   --> $DIR/edition-lint-infer-outlives-multispan.rs:311:52
704    |
705 LL |     union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
706    |                                                    ^^^^              ^^^^^
707    |
708 help: remove these bounds
709    |
710 LL -     union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
711 LL +     union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
712    |
713
714 error: outlives requirements can be inferred
715   --> $DIR/edition-lint-infer-outlives-multispan.rs:317:52
716    |
717 LL |     union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
718    |                                                    ^^^^                   ^^^^^
719    |
720 help: remove these bounds
721    |
722 LL -     union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
723 LL +     union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
724    |
725
726 error: outlives requirements can be inferred
727   --> $DIR/edition-lint-infer-outlives-multispan.rs:323:68
728    |
729 LL |     union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
730    |                                                                    ^^^^^^^   ^^^^^
731    |
732 help: remove these bounds
733    |
734 LL -     union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
735 LL +     union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
736    |
737
738 error: outlives requirements can be inferred
739   --> $DIR/edition-lint-infer-outlives-multispan.rs:329:68
740    |
741 LL |     union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
742    |                                                                    ^^^^^^^        ^^^^^
743    |
744 help: remove these bounds
745    |
746 LL -     union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
747 LL +     union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
748    |
749
750 error: outlives requirements can be inferred
751   --> $DIR/edition-lint-infer-outlives-multispan.rs:335:37
752    |
753 LL |     union BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
754    |                                     ^^^^   ^^^^
755    |
756 help: remove these bounds
757    |
758 LL -     union BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
759 LL +     union BeeOutlivesAyTeeBee<'a, 'b, T> {
760    |
761
762 error: outlives requirements can be inferred
763   --> $DIR/edition-lint-infer-outlives-multispan.rs:340:39
764    |
765 LL |     union BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
766    |                                       ^^^^   ^^^^^^^^^
767    |
768 help: remove these bounds
769    |
770 LL -     union BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
771 LL +     union BeeOutlivesAyTeeAyBee<'a, 'b, T> {
772    |
773
774 error: outlives requirements can be inferred
775   --> $DIR/edition-lint-infer-outlives-multispan.rs:345:54
776    |
777 LL |     union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
778    |                                                      ^^^^     ^^^^^     ^^^^^
779    |
780 help: remove these bounds
781    |
782 LL -     union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
783 LL +     union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
784    |
785
786 error: outlives requirements can be inferred
787   --> $DIR/edition-lint-infer-outlives-multispan.rs:350:67
788    |
789 LL |     union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
790    |                                                                   ^^^^^^^^   ^^^^^     ^^^^^
791    |
792 help: remove these bounds
793    |
794 LL -     union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
795 LL +     union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
796    |
797
798 error: outlives requirements can be inferred
799   --> $DIR/edition-lint-infer-outlives-multispan.rs:355:57
800    |
801 LL |     union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
802    |                                                         ^^^^        ^^^^^     ^^^^^
803    |
804 help: remove these bounds
805    |
806 LL -     union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
807 LL +     union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
808    |
809
810 error: outlives requirements can be inferred
811   --> $DIR/edition-lint-infer-outlives-multispan.rs:361:76
812    |
813 LL |     union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
814    |                                                                            ^^^^^     ^^^^^  ^^^^^^
815    |
816 help: remove these bounds
817    |
818 LL -     union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
819 LL +     union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug,  {
820    |
821
822 error: aborting due to 68 previous errors
823