fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

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