fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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