fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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