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