fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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