1 error: outlives requirements can be inferred
2 --> $DIR/edition-lint-infer-outlives.rs:26:31
4 LL | struct TeeOutlivesAy<'a, T: 'a> {
5 | ^^^^ help: remove this bound
7 note: lint level defined here
8 --> $DIR/edition-lint-infer-outlives.rs:4:9
10 LL | #![deny(explicit_outlives_requirements)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: outlives requirements can be inferred
14 --> $DIR/edition-lint-infer-outlives.rs:31:40
16 LL | struct TeeOutlivesAyIsDebug<'a, T: 'a + Debug> {
17 | ^^^^^ help: remove this bound
19 error: outlives requirements can be inferred
20 --> $DIR/edition-lint-infer-outlives.rs:36:45
22 LL | struct TeeIsDebugOutlivesAy<'a, T: Debug + 'a> {
23 | ^^^^^ help: remove this bound
25 error: outlives requirements can be inferred
26 --> $DIR/edition-lint-infer-outlives.rs:41:38
28 LL | struct TeeOutlivesAyBee<'a, 'b, T: 'a + 'b> {
29 | ^^^^^^^^^ help: remove these bounds
31 error: outlives requirements can be inferred
32 --> $DIR/edition-lint-infer-outlives.rs:46:47
34 LL | struct TeeOutlivesAyBeeIsDebug<'a, 'b, T: 'a + 'b + Debug> {
35 | ^^^^^^^^^^ help: remove these bounds
37 error: outlives requirements can be inferred
38 --> $DIR/edition-lint-infer-outlives.rs:51:52
40 LL | struct TeeIsDebugOutlivesAyBee<'a, 'b, T: Debug + 'a + 'b> {
41 | ^^^^^^^^^^ help: remove these bounds
43 error: outlives requirements can be inferred
44 --> $DIR/edition-lint-infer-outlives.rs:56:37
46 LL | struct TeeWhereOutlivesAy<'a, T> where T: 'a {
47 | ^^^^^^^^^^^^ help: remove this bound
49 error: outlives requirements can be inferred
50 --> $DIR/edition-lint-infer-outlives.rs:61:54
52 LL | struct TeeWhereOutlivesAyIsDebug<'a, T> where T: 'a + Debug {
53 | ^^^^^ help: remove this bound
55 error: outlives requirements can be inferred
56 --> $DIR/edition-lint-infer-outlives.rs:66:59
58 LL | struct TeeWhereIsDebugOutlivesAy<'a, T> where T: Debug + 'a {
59 | ^^^^^ help: remove this bound
61 error: outlives requirements can be inferred
62 --> $DIR/edition-lint-infer-outlives.rs:71:44
64 LL | struct TeeWhereOutlivesAyBee<'a, 'b, T> where T: 'a + 'b {
65 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
67 error: outlives requirements can be inferred
68 --> $DIR/edition-lint-infer-outlives.rs:76:61
70 LL | struct TeeWhereOutlivesAyBeeIsDebug<'a, 'b, T> where T: 'a + 'b + Debug {
71 | ^^^^^^^^^^ help: remove these bounds
73 error: outlives requirements can be inferred
74 --> $DIR/edition-lint-infer-outlives.rs:81:66
76 LL | struct TeeWhereIsDebugOutlivesAyBee<'a, 'b, T> where T: Debug + 'a + 'b {
77 | ^^^^^^^^^^ help: remove these bounds
79 error: outlives requirements can be inferred
80 --> $DIR/edition-lint-infer-outlives.rs:86:37
82 LL | struct TeeYooOutlivesAy<'a, T, U: 'a> {
83 | ^^^^ help: remove this bound
85 error: outlives requirements can be inferred
86 --> $DIR/edition-lint-infer-outlives.rs:92:46
88 LL | struct TeeYooOutlivesAyIsDebug<'a, T, U: 'a + Debug> {
89 | ^^^^^ help: remove this bound
91 error: outlives requirements can be inferred
92 --> $DIR/edition-lint-infer-outlives.rs:98:51
94 LL | struct TeeYooIsDebugOutlivesAy<'a, T, U: Debug + 'a> {
95 | ^^^^^ help: remove this bound
97 error: outlives requirements can be inferred
98 --> $DIR/edition-lint-infer-outlives.rs:104:41
100 LL | struct TeeOutlivesAyYooIsDebug<'a, T: 'a, U: Debug> {
101 | ^^^^ help: remove this bound
103 error: outlives requirements can be inferred
104 --> $DIR/edition-lint-infer-outlives.rs:110:44
106 LL | struct TeeYooOutlivesAyBee<'a, 'b, T, U: 'a + 'b> {
107 | ^^^^^^^^^ help: remove these bounds
109 error: outlives requirements can be inferred
110 --> $DIR/edition-lint-infer-outlives.rs:116:53
112 LL | struct TeeYooOutlivesAyBeeIsDebug<'a, 'b, T, U: 'a + 'b + Debug> {
113 | ^^^^^^^^^^ help: remove these bounds
115 error: outlives requirements can be inferred
116 --> $DIR/edition-lint-infer-outlives.rs:122:58
118 LL | struct TeeYooIsDebugOutlivesAyBee<'a, 'b, T, U: Debug + 'a + 'b> {
119 | ^^^^^^^^^^ help: remove these bounds
121 error: outlives requirements can be inferred
122 --> $DIR/edition-lint-infer-outlives.rs:128:48
124 LL | struct TeeOutlivesAyBeeYooIsDebug<'a, 'b, T: 'a + 'b, U: Debug> {
125 | ^^^^^^^^^ help: remove these bounds
127 error: outlives requirements can be inferred
128 --> $DIR/edition-lint-infer-outlives.rs:134:43
130 LL | struct TeeYooWhereOutlivesAy<'a, T, U> where U: 'a {
131 | ^^^^^^^^^^^^ help: remove this bound
133 error: outlives requirements can be inferred
134 --> $DIR/edition-lint-infer-outlives.rs:140:60
136 LL | struct TeeYooWhereOutlivesAyIsDebug<'a, T, U> where U: 'a + Debug {
137 | ^^^^^ help: remove this bound
139 error: outlives requirements can be inferred
140 --> $DIR/edition-lint-infer-outlives.rs:146:65
142 LL | struct TeeYooWhereIsDebugOutlivesAy<'a, T, U> where U: Debug + 'a {
143 | ^^^^^ help: remove this bound
145 error: outlives requirements can be inferred
146 --> $DIR/edition-lint-infer-outlives.rs:152:46
148 LL | struct TeeOutlivesAyYooWhereIsDebug<'a, T: 'a, U> where U: Debug {
149 | ^^^^ help: remove this bound
151 error: outlives requirements can be inferred
152 --> $DIR/edition-lint-infer-outlives.rs:158:50
154 LL | struct TeeYooWhereOutlivesAyBee<'a, 'b, T, U> where U: 'a + 'b {
155 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
157 error: outlives requirements can be inferred
158 --> $DIR/edition-lint-infer-outlives.rs:164:67
160 LL | struct TeeYooWhereOutlivesAyBeeIsDebug<'a, 'b, T, U> where U: 'a + 'b + Debug {
161 | ^^^^^^^^^^ help: remove these bounds
163 error: outlives requirements can be inferred
164 --> $DIR/edition-lint-infer-outlives.rs:170:72
166 LL | struct TeeYooWhereIsDebugOutlivesAyBee<'a, 'b, T, U> where U: Debug + 'a + 'b {
167 | ^^^^^^^^^^ help: remove these bounds
169 error: outlives requirements can be inferred
170 --> $DIR/edition-lint-infer-outlives.rs:176:53
172 LL | struct TeeOutlivesAyBeeYooWhereIsDebug<'a, 'b, T: 'a + 'b, U> where U: Debug {
173 | ^^^^^^^^^ help: remove these bounds
175 error: outlives requirements can be inferred
176 --> $DIR/edition-lint-infer-outlives.rs:182:62
178 LL | struct TeeWhereOutlivesAyYooWhereIsDebug<'a, T, U> where T: 'a, U: Debug {
179 | ^^^^^^^ help: remove this bound
181 error: outlives requirements can be inferred
182 --> $DIR/edition-lint-infer-outlives.rs:188:69
184 LL | struct TeeWhereOutlivesAyBeeYooWhereIsDebug<'a, 'b, T, U> where T: 'a + 'b, U: Debug {
185 | ^^^^^^^^^^^^ help: remove these bounds
187 error: outlives requirements can be inferred
188 --> $DIR/edition-lint-infer-outlives.rs:194:32
190 LL | struct BeeOutlivesAy<'a, 'b: 'a> {
191 | ^^^^ help: remove this bound
193 error: outlives requirements can be inferred
194 --> $DIR/edition-lint-infer-outlives.rs:199:38
196 LL | struct BeeWhereOutlivesAy<'a, 'b> where 'b: 'a {
197 | ^^^^^^^^^^^^^ help: remove this bound
199 error: outlives requirements can be inferred
200 --> $DIR/edition-lint-infer-outlives.rs:204:35
202 LL | struct BeeOutlivesAyTee<'a, 'b: 'a, T> {
203 | ^^^^ help: remove this bound
205 error: outlives requirements can be inferred
206 --> $DIR/edition-lint-infer-outlives.rs:209:44
208 LL | struct BeeWhereOutlivesAyTee<'a, 'b, T> where 'b: 'a {
209 | ^^^^^^^^^^^^^ help: remove this bound
211 error: outlives requirements can be inferred
212 --> $DIR/edition-lint-infer-outlives.rs:214:52
214 LL | struct BeeWhereOutlivesAyTeeWhereBee<'a, 'b, T> where 'b: 'a, T: 'b {
215 | ^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
217 error: outlives requirements can be inferred
218 --> $DIR/edition-lint-infer-outlives.rs:219:54
220 LL | struct BeeWhereOutlivesAyTeeWhereAyBee<'a, 'b, T> where 'b: 'a, T: 'a + 'b {
221 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
223 error: outlives requirements can be inferred
224 --> $DIR/edition-lint-infer-outlives.rs:224:40
226 LL | struct BeeOutlivesAyTeeDebug<'a, 'b: 'a, T: Debug> {
227 | ^^^^ help: remove this bound
229 error: outlives requirements can be inferred
230 --> $DIR/edition-lint-infer-outlives.rs:229:61
232 LL | struct BeeWhereOutlivesAyTeeWhereDebug<'a, 'b, T> where 'b: 'a, T: Debug {
233 | ^^^^^^^^ help: remove this bound
235 error: outlives requirements can be inferred
236 --> $DIR/edition-lint-infer-outlives.rs:238:31
238 LL | struct TeeOutlivesAy<'a, T: 'a>(&'a T);
239 | ^^^^ help: remove this bound
241 error: outlives requirements can be inferred
242 --> $DIR/edition-lint-infer-outlives.rs:241:40
244 LL | struct TeeOutlivesAyIsDebug<'a, T: 'a + Debug>(&'a T);
245 | ^^^^^ help: remove this bound
247 error: outlives requirements can be inferred
248 --> $DIR/edition-lint-infer-outlives.rs:244:45
250 LL | struct TeeIsDebugOutlivesAy<'a, T: Debug + 'a>(&'a T);
251 | ^^^^^ help: remove this bound
253 error: outlives requirements can be inferred
254 --> $DIR/edition-lint-infer-outlives.rs:247:38
256 LL | struct TeeOutlivesAyBee<'a, 'b, T: 'a + 'b>(&'a &'b T);
257 | ^^^^^^^^^ help: remove these bounds
259 error: outlives requirements can be inferred
260 --> $DIR/edition-lint-infer-outlives.rs:250:47
262 LL | struct TeeOutlivesAyBeeIsDebug<'a, 'b, T: 'a + 'b + Debug>(&'a &'b T);
263 | ^^^^^^^^^^ help: remove these bounds
265 error: outlives requirements can be inferred
266 --> $DIR/edition-lint-infer-outlives.rs:253:52
268 LL | struct TeeIsDebugOutlivesAyBee<'a, 'b, T: Debug + 'a + 'b>(&'a &'b T);
269 | ^^^^^^^^^^ help: remove these bounds
271 error: outlives requirements can be inferred
272 --> $DIR/edition-lint-infer-outlives.rs:256:45
274 LL | struct TeeWhereOutlivesAy<'a, T>(&'a T) where T: 'a;
275 | ^^^^^^^^^^^ help: remove this bound
277 error: outlives requirements can be inferred
278 --> $DIR/edition-lint-infer-outlives.rs:259:61
280 LL | struct TeeWhereOutlivesAyIsDebug<'a, T>(&'a T) where T: 'a + Debug;
281 | ^^^^^ help: remove this bound
283 error: outlives requirements can be inferred
284 --> $DIR/edition-lint-infer-outlives.rs:262:66
286 LL | struct TeeWhereIsDebugOutlivesAy<'a, T>(&'a T) where T: Debug + 'a;
287 | ^^^^^ help: remove this bound
289 error: outlives requirements can be inferred
290 --> $DIR/edition-lint-infer-outlives.rs:265:56
292 LL | struct TeeWhereOutlivesAyBee<'a, 'b, T>(&'a &'b T) where T: 'a + 'b;
293 | ^^^^^^^^^^^^^^^^ help: remove these bounds
295 error: outlives requirements can be inferred
296 --> $DIR/edition-lint-infer-outlives.rs:268:72
298 LL | struct TeeWhereOutlivesAyBeeIsDebug<'a, 'b, T>(&'a &'b T) where T: 'a + 'b + Debug;
299 | ^^^^^^^^^^ help: remove these bounds
301 error: outlives requirements can be inferred
302 --> $DIR/edition-lint-infer-outlives.rs:271:77
304 LL | struct TeeWhereIsDebugOutlivesAyBee<'a, 'b, T>(&'a &'b T) where T: Debug + 'a + 'b;
305 | ^^^^^^^^^^ help: remove these bounds
307 error: outlives requirements can be inferred
308 --> $DIR/edition-lint-infer-outlives.rs:274:37
310 LL | struct TeeYooOutlivesAy<'a, T, U: 'a>(T, &'a U);
311 | ^^^^ help: remove this bound
313 error: outlives requirements can be inferred
314 --> $DIR/edition-lint-infer-outlives.rs:277:46
316 LL | struct TeeYooOutlivesAyIsDebug<'a, T, U: 'a + Debug>(T, &'a U);
317 | ^^^^^ help: remove this bound
319 error: outlives requirements can be inferred
320 --> $DIR/edition-lint-infer-outlives.rs:280:51
322 LL | struct TeeYooIsDebugOutlivesAy<'a, T, U: Debug + 'a>(T, &'a U);
323 | ^^^^^ help: remove this bound
325 error: outlives requirements can be inferred
326 --> $DIR/edition-lint-infer-outlives.rs:283:41
328 LL | struct TeeOutlivesAyYooIsDebug<'a, T: 'a, U: Debug>(&'a T, U);
329 | ^^^^ help: remove this bound
331 error: outlives requirements can be inferred
332 --> $DIR/edition-lint-infer-outlives.rs:286:44
334 LL | struct TeeYooOutlivesAyBee<'a, 'b, T, U: 'a + 'b>(T, &'a &'b U);
335 | ^^^^^^^^^ help: remove these bounds
337 error: outlives requirements can be inferred
338 --> $DIR/edition-lint-infer-outlives.rs:289:53
340 LL | struct TeeYooOutlivesAyBeeIsDebug<'a, 'b, T, U: 'a + 'b + Debug>(T, &'a &'b U);
341 | ^^^^^^^^^^ help: remove these bounds
343 error: outlives requirements can be inferred
344 --> $DIR/edition-lint-infer-outlives.rs:292:58
346 LL | struct TeeYooIsDebugOutlivesAyBee<'a, 'b, T, U: Debug + 'a + 'b>(T, &'a &'b U);
347 | ^^^^^^^^^^ help: remove these bounds
349 error: outlives requirements can be inferred
350 --> $DIR/edition-lint-infer-outlives.rs:295:48
352 LL | struct TeeOutlivesAyBeeYooIsDebug<'a, 'b, T: 'a + 'b, U: Debug>(&'a &'b T, U);
353 | ^^^^^^^^^ help: remove these bounds
355 error: outlives requirements can be inferred
356 --> $DIR/edition-lint-infer-outlives.rs:298:54
358 LL | struct TeeYooWhereOutlivesAy<'a, T, U>(T, &'a U) where U: 'a;
359 | ^^^^^^^^^^^ help: remove this bound
361 error: outlives requirements can be inferred
362 --> $DIR/edition-lint-infer-outlives.rs:301:70
364 LL | struct TeeYooWhereOutlivesAyIsDebug<'a, T, U>(T, &'a U) where U: 'a + Debug;
365 | ^^^^^ help: remove this bound
367 error: outlives requirements can be inferred
368 --> $DIR/edition-lint-infer-outlives.rs:304:75
370 LL | struct TeeYooWhereIsDebugOutlivesAy<'a, T, U>(T, &'a U) where U: Debug + 'a;
371 | ^^^^^ help: remove this bound
373 error: outlives requirements can be inferred
374 --> $DIR/edition-lint-infer-outlives.rs:307:46
376 LL | struct TeeOutlivesAyYooWhereIsDebug<'a, T: 'a, U>(&'a T, U) where U: Debug;
377 | ^^^^ help: remove this bound
379 error: outlives requirements can be inferred
380 --> $DIR/edition-lint-infer-outlives.rs:310:65
382 LL | struct TeeYooWhereOutlivesAyBee<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + 'b;
383 | ^^^^^^^^^^^^^^^^ help: remove these bounds
385 error: outlives requirements can be inferred
386 --> $DIR/edition-lint-infer-outlives.rs:313:81
388 LL | struct TeeYooWhereOutlivesAyBeeIsDebug<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + 'b + Debug;
389 | ^^^^^^^^^^ help: remove these bounds
391 error: outlives requirements can be inferred
392 --> $DIR/edition-lint-infer-outlives.rs:316:86
394 LL | struct TeeYooWhereIsDebugOutlivesAyBee<'a, 'b, T, U>(T, &'a &'b U) where U: Debug + 'a + 'b;
395 | ^^^^^^^^^^ help: remove these bounds
397 error: outlives requirements can be inferred
398 --> $DIR/edition-lint-infer-outlives.rs:319:53
400 LL | struct TeeOutlivesAyBeeYooWhereIsDebug<'a, 'b, T: 'a + 'b, U>(&'a &'b T, U) where U: Debug;
401 | ^^^^^^^^^ help: remove these bounds
403 error: outlives requirements can be inferred
404 --> $DIR/edition-lint-infer-outlives.rs:322:72
406 LL | struct TeeWhereOutlivesAyYooWhereIsDebug<'a, T, U>(&'a T, U) where T: 'a, U: Debug;
407 | ^^^^^^^ help: remove this bound
409 error: outlives requirements can be inferred
410 --> $DIR/edition-lint-infer-outlives.rs:325:75
412 LL | struct TeeWhereAyBeeYooWhereIsDebug<'a, 'b, T, U>(&'a &'b T, U) where T: 'a + 'b, U: Debug;
413 | ^^^^^^^^^^^^ help: remove these bounds
415 error: outlives requirements can be inferred
416 --> $DIR/edition-lint-infer-outlives.rs:328:32
418 LL | struct BeeOutlivesAy<'a, 'b: 'a>(&'a &'b ());
419 | ^^^^ help: remove this bound
421 error: outlives requirements can be inferred
422 --> $DIR/edition-lint-infer-outlives.rs:331:51
424 LL | struct BeeWhereOutlivesAy<'a, 'b>(&'a &'b ()) where 'b: 'a;
425 | ^^^^^^^^^^^^ help: remove this bound
427 error: outlives requirements can be inferred
428 --> $DIR/edition-lint-infer-outlives.rs:334:35
430 LL | struct BeeOutlivesAyTee<'a, 'b: 'a, T>(&'a &'b T);
431 | ^^^^ help: remove this bound
433 error: outlives requirements can be inferred
434 --> $DIR/edition-lint-infer-outlives.rs:337:56
436 LL | struct BeeWhereOutlivesAyTee<'a, 'b, T>(&'a &'b T) where 'b: 'a;
437 | ^^^^^^^^^^^^ help: remove this bound
439 error: outlives requirements can be inferred
440 --> $DIR/edition-lint-infer-outlives.rs:340:64
442 LL | struct BeeWhereOutlivesAyTeeWhereBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'b;
443 | ^^^^^^^^^^^^^^^^^^^ help: remove these bounds
445 error: outlives requirements can be inferred
446 --> $DIR/edition-lint-infer-outlives.rs:343:66
448 LL | struct BeeWhereOutlivesAyTeeWhereAyBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'a + 'b;
449 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
451 error: outlives requirements can be inferred
452 --> $DIR/edition-lint-infer-outlives.rs:346:40
454 LL | struct BeeOutlivesAyTeeDebug<'a, 'b: 'a, T: Debug>(&'a &'b T);
455 | ^^^^ help: remove this bound
457 error: outlives requirements can be inferred
458 --> $DIR/edition-lint-infer-outlives.rs:349:72
460 LL | struct BeeWhereOutlivesAyTeeWhereDebug<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: Debug;
461 | ^^^^^^^^ help: remove this bound
463 error: outlives requirements can be inferred
464 --> $DIR/edition-lint-infer-outlives.rs:356:29
466 LL | enum TeeOutlivesAy<'a, T: 'a> {
467 | ^^^^ help: remove this bound
469 error: outlives requirements can be inferred
470 --> $DIR/edition-lint-infer-outlives.rs:361:38
472 LL | enum TeeOutlivesAyIsDebug<'a, T: 'a + Debug> {
473 | ^^^^^ help: remove this bound
475 error: outlives requirements can be inferred
476 --> $DIR/edition-lint-infer-outlives.rs:366:43
478 LL | enum TeeIsDebugOutlivesAy<'a, T: Debug + 'a> {
479 | ^^^^^ help: remove this bound
481 error: outlives requirements can be inferred
482 --> $DIR/edition-lint-infer-outlives.rs:372:36
484 LL | enum TeeOutlivesAyBee<'a, 'b, T: 'a + 'b> {
485 | ^^^^^^^^^ help: remove these bounds
487 error: outlives requirements can be inferred
488 --> $DIR/edition-lint-infer-outlives.rs:378:45
490 LL | enum TeeOutlivesAyBeeIsDebug<'a, 'b, T: 'a + 'b + Debug> {
491 | ^^^^^^^^^^ help: remove these bounds
493 error: outlives requirements can be inferred
494 --> $DIR/edition-lint-infer-outlives.rs:383:50
496 LL | enum TeeIsDebugOutlivesAyBee<'a, 'b, T: Debug + 'a + 'b> {
497 | ^^^^^^^^^^ help: remove these bounds
499 error: outlives requirements can be inferred
500 --> $DIR/edition-lint-infer-outlives.rs:388:35
502 LL | enum TeeWhereOutlivesAy<'a, T> where T: 'a {
503 | ^^^^^^^^^^^^ help: remove this bound
505 error: outlives requirements can be inferred
506 --> $DIR/edition-lint-infer-outlives.rs:394:52
508 LL | enum TeeWhereOutlivesAyIsDebug<'a, T> where T: 'a + Debug {
509 | ^^^^^ help: remove this bound
511 error: outlives requirements can be inferred
512 --> $DIR/edition-lint-infer-outlives.rs:400:57
514 LL | enum TeeWhereIsDebugOutlivesAy<'a, T> where T: Debug + 'a {
515 | ^^^^^ help: remove this bound
517 error: outlives requirements can be inferred
518 --> $DIR/edition-lint-infer-outlives.rs:405:42
520 LL | enum TeeWhereOutlivesAyBee<'a, 'b, T> where T: 'a + 'b {
521 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
523 error: outlives requirements can be inferred
524 --> $DIR/edition-lint-infer-outlives.rs:410:59
526 LL | enum TeeWhereOutlivesAyBeeIsDebug<'a, 'b, T> where T: 'a + 'b + Debug {
527 | ^^^^^^^^^^ help: remove these bounds
529 error: outlives requirements can be inferred
530 --> $DIR/edition-lint-infer-outlives.rs:416:64
532 LL | enum TeeWhereIsDebugOutlivesAyBee<'a, 'b, T> where T: Debug + 'a + 'b {
533 | ^^^^^^^^^^ help: remove these bounds
535 error: outlives requirements can be inferred
536 --> $DIR/edition-lint-infer-outlives.rs:422:35
538 LL | enum TeeYooOutlivesAy<'a, T, U: 'a> {
539 | ^^^^ help: remove this bound
541 error: outlives requirements can be inferred
542 --> $DIR/edition-lint-infer-outlives.rs:428:44
544 LL | enum TeeYooOutlivesAyIsDebug<'a, T, U: 'a + Debug> {
545 | ^^^^^ help: remove this bound
547 error: outlives requirements can be inferred
548 --> $DIR/edition-lint-infer-outlives.rs:434:49
550 LL | enum TeeYooIsDebugOutlivesAy<'a, T, U: Debug + 'a> {
551 | ^^^^^ help: remove this bound
553 error: outlives requirements can be inferred
554 --> $DIR/edition-lint-infer-outlives.rs:440:39
556 LL | enum TeeOutlivesAyYooIsDebug<'a, T: 'a, U: Debug> {
557 | ^^^^ help: remove this bound
559 error: outlives requirements can be inferred
560 --> $DIR/edition-lint-infer-outlives.rs:446:42
562 LL | enum TeeYooOutlivesAyBee<'a, 'b, T, U: 'a + 'b> {
563 | ^^^^^^^^^ help: remove these bounds
565 error: outlives requirements can be inferred
566 --> $DIR/edition-lint-infer-outlives.rs:452:51
568 LL | enum TeeYooOutlivesAyBeeIsDebug<'a, 'b, T, U: 'a + 'b + Debug> {
569 | ^^^^^^^^^^ help: remove these bounds
571 error: outlives requirements can be inferred
572 --> $DIR/edition-lint-infer-outlives.rs:458:56
574 LL | enum TeeYooIsDebugOutlivesAyBee<'a, 'b, T, U: Debug + 'a + 'b> {
575 | ^^^^^^^^^^ help: remove these bounds
577 error: outlives requirements can be inferred
578 --> $DIR/edition-lint-infer-outlives.rs:464:46
580 LL | enum TeeOutlivesAyBeeYooIsDebug<'a, 'b, T: 'a + 'b, U: Debug> {
581 | ^^^^^^^^^ help: remove these bounds
583 error: outlives requirements can be inferred
584 --> $DIR/edition-lint-infer-outlives.rs:470:41
586 LL | enum TeeYooWhereOutlivesAy<'a, T, U> where U: 'a {
587 | ^^^^^^^^^^^^ help: remove this bound
589 error: outlives requirements can be inferred
590 --> $DIR/edition-lint-infer-outlives.rs:476:58
592 LL | enum TeeYooWhereOutlivesAyIsDebug<'a, T, U> where U: 'a + Debug {
593 | ^^^^^ help: remove this bound
595 error: outlives requirements can be inferred
596 --> $DIR/edition-lint-infer-outlives.rs:482:63
598 LL | enum TeeYooWhereIsDebugOutlivesAy<'a, T, U> where U: Debug + 'a {
599 | ^^^^^ help: remove this bound
601 error: outlives requirements can be inferred
602 --> $DIR/edition-lint-infer-outlives.rs:488:44
604 LL | enum TeeOutlivesAyYooWhereIsDebug<'a, T: 'a, U> where U: Debug {
605 | ^^^^ help: remove this bound
607 error: outlives requirements can be inferred
608 --> $DIR/edition-lint-infer-outlives.rs:494:48
610 LL | enum TeeYooWhereOutlivesAyBee<'a, 'b, T, U> where U: 'a + 'b {
611 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
613 error: outlives requirements can be inferred
614 --> $DIR/edition-lint-infer-outlives.rs:500:65
616 LL | enum TeeYooWhereOutlivesAyBeeIsDebug<'a, 'b, T, U> where U: 'a + 'b + Debug {
617 | ^^^^^^^^^^ help: remove these bounds
619 error: outlives requirements can be inferred
620 --> $DIR/edition-lint-infer-outlives.rs:506:70
622 LL | enum TeeYooWhereIsDebugOutlivesAyBee<'a, 'b, T, U> where U: Debug + 'a + 'b {
623 | ^^^^^^^^^^ help: remove these bounds
625 error: outlives requirements can be inferred
626 --> $DIR/edition-lint-infer-outlives.rs:512:51
628 LL | enum TeeOutlivesAyBeeYooWhereIsDebug<'a, 'b, T: 'a + 'b, U> where U: Debug {
629 | ^^^^^^^^^ help: remove these bounds
631 error: outlives requirements can be inferred
632 --> $DIR/edition-lint-infer-outlives.rs:518:60
634 LL | enum TeeWhereOutlivesAyYooWhereIsDebug<'a, T, U> where T: 'a, U: Debug {
635 | ^^^^^^^ help: remove this bound
637 error: outlives requirements can be inferred
638 --> $DIR/edition-lint-infer-outlives.rs:524:67
640 LL | enum TeeWhereOutlivesAyBeeYooWhereIsDebug<'a, 'b, T, U> where T: 'a + 'b, U: Debug {
641 | ^^^^^^^^^^^^ help: remove these bounds
643 error: outlives requirements can be inferred
644 --> $DIR/edition-lint-infer-outlives.rs:530:30
646 LL | enum BeeOutlivesAy<'a, 'b: 'a> {
647 | ^^^^ help: remove this bound
649 error: outlives requirements can be inferred
650 --> $DIR/edition-lint-infer-outlives.rs:535:36
652 LL | enum BeeWhereOutlivesAy<'a, 'b> where 'b: 'a {
653 | ^^^^^^^^^^^^^ help: remove this bound
655 error: outlives requirements can be inferred
656 --> $DIR/edition-lint-infer-outlives.rs:540:33
658 LL | enum BeeOutlivesAyTee<'a, 'b: 'a, T> {
659 | ^^^^ help: remove this bound
661 error: outlives requirements can be inferred
662 --> $DIR/edition-lint-infer-outlives.rs:546:42
664 LL | enum BeeWhereOutlivesAyTee<'a, 'b, T> where 'b: 'a {
665 | ^^^^^^^^^^^^^ help: remove this bound
667 error: outlives requirements can be inferred
668 --> $DIR/edition-lint-infer-outlives.rs:552:50
670 LL | enum BeeWhereOutlivesAyTeeWhereBee<'a, 'b, T> where 'b: 'a, T: 'b {
671 | ^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
673 error: outlives requirements can be inferred
674 --> $DIR/edition-lint-infer-outlives.rs:557:52
676 LL | enum BeeWhereOutlivesAyTeeWhereAyBee<'a, 'b, T> where 'b: 'a, T: 'a + 'b {
677 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
679 error: outlives requirements can be inferred
680 --> $DIR/edition-lint-infer-outlives.rs:563:38
682 LL | enum BeeOutlivesAyTeeDebug<'a, 'b: 'a, T: Debug> {
683 | ^^^^ help: remove this bound
685 error: outlives requirements can be inferred
686 --> $DIR/edition-lint-infer-outlives.rs:568:59
688 LL | enum BeeWhereOutlivesAyTeeWhereDebug<'a, 'b, T> where 'b: 'a, T: Debug {
689 | ^^^^^^^^ help: remove this bound
691 error: outlives requirements can be inferred
692 --> $DIR/edition-lint-infer-outlives.rs:577:30
694 LL | union TeeOutlivesAy<'a, T: 'a> {
695 | ^^^^ help: remove this bound
697 error: outlives requirements can be inferred
698 --> $DIR/edition-lint-infer-outlives.rs:582:39
700 LL | union TeeOutlivesAyIsDebug<'a, T: 'a + Debug> {
701 | ^^^^^ help: remove this bound
703 error: outlives requirements can be inferred
704 --> $DIR/edition-lint-infer-outlives.rs:587:44
706 LL | union TeeIsDebugOutlivesAy<'a, T: Debug + 'a> {
707 | ^^^^^ help: remove this bound
709 error: outlives requirements can be inferred
710 --> $DIR/edition-lint-infer-outlives.rs:592:37
712 LL | union TeeOutlivesAyBee<'a, 'b, T: 'a + 'b> {
713 | ^^^^^^^^^ help: remove these bounds
715 error: outlives requirements can be inferred
716 --> $DIR/edition-lint-infer-outlives.rs:597:46
718 LL | union TeeOutlivesAyBeeIsDebug<'a, 'b, T: 'a + 'b + Debug> {
719 | ^^^^^^^^^^ help: remove these bounds
721 error: outlives requirements can be inferred
722 --> $DIR/edition-lint-infer-outlives.rs:602:51
724 LL | union TeeIsDebugOutlivesAyBee<'a, 'b, T: Debug + 'a + 'b> {
725 | ^^^^^^^^^^ help: remove these bounds
727 error: outlives requirements can be inferred
728 --> $DIR/edition-lint-infer-outlives.rs:607:36
730 LL | union TeeWhereOutlivesAy<'a, T> where T: 'a {
731 | ^^^^^^^^^^^^ help: remove this bound
733 error: outlives requirements can be inferred
734 --> $DIR/edition-lint-infer-outlives.rs:612:53
736 LL | union TeeWhereOutlivesAyIsDebug<'a, T> where T: 'a + Debug {
737 | ^^^^^ help: remove this bound
739 error: outlives requirements can be inferred
740 --> $DIR/edition-lint-infer-outlives.rs:617:58
742 LL | union TeeWhereIsDebugOutlivesAy<'a, T> where T: Debug + 'a {
743 | ^^^^^ help: remove this bound
745 error: outlives requirements can be inferred
746 --> $DIR/edition-lint-infer-outlives.rs:622:43
748 LL | union TeeWhereOutlivesAyBee<'a, 'b, T> where T: 'a + 'b {
749 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
751 error: outlives requirements can be inferred
752 --> $DIR/edition-lint-infer-outlives.rs:627:60
754 LL | union TeeWhereOutlivesAyBeeIsDebug<'a, 'b, T> where T: 'a + 'b + Debug {
755 | ^^^^^^^^^^ help: remove these bounds
757 error: outlives requirements can be inferred
758 --> $DIR/edition-lint-infer-outlives.rs:632:65
760 LL | union TeeWhereIsDebugOutlivesAyBee<'a, 'b, T> where T: Debug + 'a + 'b {
761 | ^^^^^^^^^^ help: remove these bounds
763 error: outlives requirements can be inferred
764 --> $DIR/edition-lint-infer-outlives.rs:637:36
766 LL | union TeeYooOutlivesAy<'a, T, U: 'a> {
767 | ^^^^ help: remove this bound
769 error: outlives requirements can be inferred
770 --> $DIR/edition-lint-infer-outlives.rs:643:45
772 LL | union TeeYooOutlivesAyIsDebug<'a, T, U: 'a + Debug> {
773 | ^^^^^ help: remove this bound
775 error: outlives requirements can be inferred
776 --> $DIR/edition-lint-infer-outlives.rs:649:50
778 LL | union TeeYooIsDebugOutlivesAy<'a, T, U: Debug + 'a> {
779 | ^^^^^ help: remove this bound
781 error: outlives requirements can be inferred
782 --> $DIR/edition-lint-infer-outlives.rs:655:40
784 LL | union TeeOutlivesAyYooIsDebug<'a, T: 'a, U: Debug> {
785 | ^^^^ help: remove this bound
787 error: outlives requirements can be inferred
788 --> $DIR/edition-lint-infer-outlives.rs:661:43
790 LL | union TeeYooOutlivesAyBee<'a, 'b, T, U: 'a + 'b> {
791 | ^^^^^^^^^ help: remove these bounds
793 error: outlives requirements can be inferred
794 --> $DIR/edition-lint-infer-outlives.rs:667:52
796 LL | union TeeYooOutlivesAyBeeIsDebug<'a, 'b, T, U: 'a + 'b + Debug> {
797 | ^^^^^^^^^^ help: remove these bounds
799 error: outlives requirements can be inferred
800 --> $DIR/edition-lint-infer-outlives.rs:673:57
802 LL | union TeeYooIsDebugOutlivesAyBee<'a, 'b, T, U: Debug + 'a + 'b> {
803 | ^^^^^^^^^^ help: remove these bounds
805 error: outlives requirements can be inferred
806 --> $DIR/edition-lint-infer-outlives.rs:679:47
808 LL | union TeeOutlivesAyBeeYooIsDebug<'a, 'b, T: 'a + 'b, U: Debug> {
809 | ^^^^^^^^^ help: remove these bounds
811 error: outlives requirements can be inferred
812 --> $DIR/edition-lint-infer-outlives.rs:685:42
814 LL | union TeeYooWhereOutlivesAy<'a, T, U> where U: 'a {
815 | ^^^^^^^^^^^^ help: remove this bound
817 error: outlives requirements can be inferred
818 --> $DIR/edition-lint-infer-outlives.rs:691:59
820 LL | union TeeYooWhereOutlivesAyIsDebug<'a, T, U> where U: 'a + Debug {
821 | ^^^^^ help: remove this bound
823 error: outlives requirements can be inferred
824 --> $DIR/edition-lint-infer-outlives.rs:697:64
826 LL | union TeeYooWhereIsDebugOutlivesAy<'a, T, U> where U: Debug + 'a {
827 | ^^^^^ help: remove this bound
829 error: outlives requirements can be inferred
830 --> $DIR/edition-lint-infer-outlives.rs:703:45
832 LL | union TeeOutlivesAyYooWhereIsDebug<'a, T: 'a, U> where U: Debug {
833 | ^^^^ help: remove this bound
835 error: outlives requirements can be inferred
836 --> $DIR/edition-lint-infer-outlives.rs:709:49
838 LL | union TeeYooWhereOutlivesAyBee<'a, 'b, T, U> where U: 'a + 'b {
839 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
841 error: outlives requirements can be inferred
842 --> $DIR/edition-lint-infer-outlives.rs:715:66
844 LL | union TeeYooWhereOutlivesAyBeeIsDebug<'a, 'b, T, U> where U: 'a + 'b + Debug {
845 | ^^^^^^^^^^ help: remove these bounds
847 error: outlives requirements can be inferred
848 --> $DIR/edition-lint-infer-outlives.rs:721:71
850 LL | union TeeYooWhereIsDebugOutlivesAyBee<'a, 'b, T, U> where U: Debug + 'a + 'b {
851 | ^^^^^^^^^^ help: remove these bounds
853 error: outlives requirements can be inferred
854 --> $DIR/edition-lint-infer-outlives.rs:727:52
856 LL | union TeeOutlivesAyBeeYooWhereIsDebug<'a, 'b, T: 'a + 'b, U> where U: Debug {
857 | ^^^^^^^^^ help: remove these bounds
859 error: outlives requirements can be inferred
860 --> $DIR/edition-lint-infer-outlives.rs:733:61
862 LL | union TeeWhereOutlivesAyYooWhereIsDebug<'a, T, U> where T: 'a, U: Debug {
863 | ^^^^^^^ help: remove this bound
865 error: outlives requirements can be inferred
866 --> $DIR/edition-lint-infer-outlives.rs:739:68
868 LL | union TeeWhereOutlivesAyBeeYooWhereIsDebug<'a, 'b, T, U> where T: 'a + 'b, U: Debug {
869 | ^^^^^^^^^^^^ help: remove these bounds
871 error: outlives requirements can be inferred
872 --> $DIR/edition-lint-infer-outlives.rs:745:31
874 LL | union BeeOutlivesAy<'a, 'b: 'a> {
875 | ^^^^ help: remove this bound
877 error: outlives requirements can be inferred
878 --> $DIR/edition-lint-infer-outlives.rs:750:37
880 LL | union BeeWhereOutlivesAy<'a, 'b> where 'b: 'a {
881 | ^^^^^^^^^^^^^ help: remove this bound
883 error: outlives requirements can be inferred
884 --> $DIR/edition-lint-infer-outlives.rs:755:34
886 LL | union BeeOutlivesAyTee<'a, 'b: 'a, T> {
887 | ^^^^ help: remove this bound
889 error: outlives requirements can be inferred
890 --> $DIR/edition-lint-infer-outlives.rs:760:43
892 LL | union BeeWhereOutlivesAyTee<'a, 'b, T> where 'b: 'a {
893 | ^^^^^^^^^^^^^ help: remove this bound
895 error: outlives requirements can be inferred
896 --> $DIR/edition-lint-infer-outlives.rs:765:51
898 LL | union BeeWhereOutlivesAyTeeWhereBee<'a, 'b, T> where 'b: 'a, T: 'b {
899 | ^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
901 error: outlives requirements can be inferred
902 --> $DIR/edition-lint-infer-outlives.rs:770:53
904 LL | union BeeWhereOutlivesAyTeeWhereAyBee<'a, 'b, T> where 'b: 'a, T: 'a + 'b {
905 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these bounds
907 error: outlives requirements can be inferred
908 --> $DIR/edition-lint-infer-outlives.rs:775:39
910 LL | union BeeOutlivesAyTeeDebug<'a, 'b: 'a, T: Debug> {
911 | ^^^^ help: remove this bound
913 error: outlives requirements can be inferred
914 --> $DIR/edition-lint-infer-outlives.rs:780:60
916 LL | union BeeWhereOutlivesAyTeeWhereDebug<'a, 'b, T> where 'b: 'a, T: Debug {
917 | ^^^^^^^^ help: remove this bound
919 error: aborting due to 152 previous errors