1 error: outlives requirements can be inferred
2 --> $DIR/edition-lint-infer-outlives-multispan.rs:13:47
4 LL | struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
7 note: the lint level is defined here
8 --> $DIR/edition-lint-infer-outlives-multispan.rs:2:9
10 LL | #![deny(explicit_outlives_requirements)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 help: remove these bounds
14 LL - struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
15 LL + struct TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
18 error: outlives requirements can be inferred
19 --> $DIR/edition-lint-infer-outlives-multispan.rs:18:61
21 LL | struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
24 help: remove these bounds
26 LL - struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
27 LL + struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
30 error: outlives requirements can be inferred
31 --> $DIR/edition-lint-infer-outlives-multispan.rs:23:53
33 LL | struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
36 help: remove these bounds
38 LL - struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
39 LL + struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
42 error: outlives requirements can be inferred
43 --> $DIR/edition-lint-infer-outlives-multispan.rs:29:48
45 LL | struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
48 help: remove these bounds
50 LL - struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
51 LL + struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
54 error: outlives requirements can be inferred
55 --> $DIR/edition-lint-infer-outlives-multispan.rs:35:48
57 LL | struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
60 help: remove these bounds
62 LL - struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
63 LL + struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
66 error: outlives requirements can be inferred
67 --> $DIR/edition-lint-infer-outlives-multispan.rs:41:46
69 LL | struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
72 help: remove these bounds
74 LL - struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
75 LL + struct TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
78 error: outlives requirements can be inferred
79 --> $DIR/edition-lint-infer-outlives-multispan.rs:47:67
81 LL | struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
84 help: remove these bounds
86 LL - struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
87 LL + struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
90 error: outlives requirements can be inferred
91 --> $DIR/edition-lint-infer-outlives-multispan.rs:53:53
93 LL | struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
96 help: remove these bounds
98 LL - struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
99 LL + struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
102 error: outlives requirements can be inferred
103 --> $DIR/edition-lint-infer-outlives-multispan.rs:59:53
105 LL | struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
108 help: remove these bounds
110 LL - struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
111 LL + struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
114 error: outlives requirements can be inferred
115 --> $DIR/edition-lint-infer-outlives-multispan.rs:65:69
117 LL | struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
120 help: remove these bounds
122 LL - struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
123 LL + struct TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
126 error: outlives requirements can be inferred
127 --> $DIR/edition-lint-infer-outlives-multispan.rs:71:69
129 LL | struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
132 help: remove these bounds
134 LL - struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
135 LL + struct TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
138 error: outlives requirements can be inferred
139 --> $DIR/edition-lint-infer-outlives-multispan.rs:77:38
141 LL | struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
144 help: remove these bounds
146 LL - struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
147 LL + struct BeeOutlivesAyTeeBee<'a, 'b, T> {
150 error: outlives requirements can be inferred
151 --> $DIR/edition-lint-infer-outlives-multispan.rs:82:40
153 LL | struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
156 help: remove these bounds
158 LL - struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
159 LL + struct BeeOutlivesAyTeeAyBee<'a, 'b, T> {
162 error: outlives requirements can be inferred
163 --> $DIR/edition-lint-infer-outlives-multispan.rs:87:55
165 LL | struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
168 help: remove these bounds
170 LL - struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
171 LL + struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
174 error: outlives requirements can be inferred
175 --> $DIR/edition-lint-infer-outlives-multispan.rs:92:68
177 LL | struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
178 | ^^^^^^^^ ^^^^^ ^^^^^
180 help: remove these bounds
182 LL - struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
183 LL + struct BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
186 error: outlives requirements can be inferred
187 --> $DIR/edition-lint-infer-outlives-multispan.rs:97:58
189 LL | struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
192 help: remove these bounds
194 LL - struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
195 LL + struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
198 error: outlives requirements can be inferred
199 --> $DIR/edition-lint-infer-outlives-multispan.rs:104:18
201 LL | where U: 'a + Debug + 'b, 'b: 'a
204 help: remove these bounds
206 LL - where U: 'a + Debug + 'b, 'b: 'a
210 error: outlives requirements can be inferred
211 --> $DIR/edition-lint-infer-outlives-multispan.rs:115:47
213 LL | struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b>(&'a &'b T);
216 help: remove these bounds
218 LL - struct TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b>(&'a &'b T);
219 LL + struct TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug>(&'a &'b T);
222 error: outlives requirements can be inferred
223 --> $DIR/edition-lint-infer-outlives-multispan.rs:118:72
225 LL | struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: 'a + Debug + 'b;
228 help: remove these bounds
230 LL - struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: 'a + Debug + 'b;
231 LL + struct TeeWhereOutlivesAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: Debug;
234 error: outlives requirements can be inferred
235 --> $DIR/edition-lint-infer-outlives-multispan.rs:121:53
237 LL | struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b>(T, &'a &'b U);
240 help: remove these bounds
242 LL - struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b>(T, &'a &'b U);
243 LL + struct TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug>(T, &'a &'b U);
246 error: outlives requirements can be inferred
247 --> $DIR/edition-lint-infer-outlives-multispan.rs:124:48
249 LL | struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug>(&'a T, &'b U);
252 help: remove these bounds
254 LL - struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug>(&'a T, &'b U);
255 LL + struct TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug>(&'a T, &'b U);
258 error: outlives requirements can be inferred
259 --> $DIR/edition-lint-infer-outlives-multispan.rs:127:48
261 LL | struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b>(&'a T, &'b U);
264 help: remove these bounds
266 LL - struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b>(&'a T, &'b U);
267 LL + struct TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug>(&'a T, &'b U);
270 error: outlives requirements can be inferred
271 --> $DIR/edition-lint-infer-outlives-multispan.rs:130:46
273 LL | struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b;
276 help: remove these bounds
278 LL - struct TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b;
279 LL + struct TeeOutlivesAyYooWhereBee<'a, 'b, T, U>(&'a T, &'b U) ;
282 error: outlives requirements can be inferred
283 --> $DIR/edition-lint-infer-outlives-multispan.rs:133:81
285 LL | struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + Debug + 'b;
288 help: remove these bounds
290 LL - struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: 'a + Debug + 'b;
291 LL + struct TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U>(T, &'a &'b U) where U: Debug;
294 error: outlives requirements can be inferred
295 --> $DIR/edition-lint-infer-outlives-multispan.rs:136:53
297 LL | struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b + Debug;
300 help: remove these bounds
302 LL - struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: 'b + Debug;
303 LL + struct TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
306 error: outlives requirements can be inferred
307 --> $DIR/edition-lint-infer-outlives-multispan.rs:139:53
309 LL | struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: Debug + 'b;
312 help: remove these bounds
314 LL - struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U>(&'a T, &'b U) where U: Debug + 'b;
315 LL + struct TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
318 error: outlives requirements can be inferred
319 --> $DIR/edition-lint-infer-outlives-multispan.rs:142:75
321 LL | struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: 'b + Debug;
324 help: remove these bounds
326 LL - struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: 'b + Debug;
327 LL + struct TeeWhereAyYooWhereBeeIsDebug<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
330 error: outlives requirements can be inferred
331 --> $DIR/edition-lint-infer-outlives-multispan.rs:145:75
333 LL | struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: Debug + 'b;
336 help: remove these bounds
338 LL - struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where T: 'a, U: Debug + 'b;
339 LL + struct TeeWhereAyYooWhereIsDebugBee<'a, 'b, T, U>(&'a T, &'b U) where U: Debug;
342 error: outlives requirements can be inferred
343 --> $DIR/edition-lint-infer-outlives-multispan.rs:148:38
345 LL | struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b>(&'a &'b T);
348 help: remove these bounds
350 LL - struct BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b>(&'a &'b T);
351 LL + struct BeeOutlivesAyTeeBee<'a, 'b, T>(&'a &'b T);
354 error: outlives requirements can be inferred
355 --> $DIR/edition-lint-infer-outlives-multispan.rs:151:40
357 LL | struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b>(&'a &'b T);
360 help: remove these bounds
362 LL - struct BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b>(&'a &'b T);
363 LL + struct BeeOutlivesAyTeeAyBee<'a, 'b, T>(&'a &'b T);
366 error: outlives requirements can be inferred
367 --> $DIR/edition-lint-infer-outlives-multispan.rs:154:55
369 LL | struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b>(&'a &'b T);
372 help: remove these bounds
374 LL - struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b>(&'a &'b T);
375 LL + struct BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug>(&'a &'b T);
378 error: outlives requirements can be inferred
379 --> $DIR/edition-lint-infer-outlives-multispan.rs:157:71
381 LL | struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'a + Debug + 'b;
382 | ^^^^^^^^ ^^^^^ ^^^^^
384 help: remove these bounds
386 LL - struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where 'b: 'a, T: 'a + Debug + 'b;
387 LL + struct BeeWhereAyTeeWhereAyIsDebugBee<'a, 'b, T>(&'a &'b T) where T: Debug;
390 error: outlives requirements can be inferred
391 --> $DIR/edition-lint-infer-outlives-multispan.rs:160:58
393 LL | struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b>(T, &'a &'b U);
396 help: remove these bounds
398 LL - struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b>(T, &'a &'b U);
399 LL + struct BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug>(T, &'a &'b U);
402 error: outlives requirements can be inferred
403 --> $DIR/edition-lint-infer-outlives-multispan.rs:164:18
405 LL | where U: 'a + Debug + 'b, 'b: 'a;
408 help: remove these bounds
410 LL - where U: 'a + Debug + 'b, 'b: 'a;
411 LL + where U: Debug, ;
414 error: outlives requirements can be inferred
415 --> $DIR/edition-lint-infer-outlives-multispan.rs:171:45
417 LL | enum TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
420 help: remove these bounds
422 LL - enum TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
423 LL + enum TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
426 error: outlives requirements can be inferred
427 --> $DIR/edition-lint-infer-outlives-multispan.rs:176:59
429 LL | enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
432 help: remove these bounds
434 LL - enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
435 LL + enum TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
438 error: outlives requirements can be inferred
439 --> $DIR/edition-lint-infer-outlives-multispan.rs:181:51
441 LL | enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
444 help: remove these bounds
446 LL - enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
447 LL + enum TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
450 error: outlives requirements can be inferred
451 --> $DIR/edition-lint-infer-outlives-multispan.rs:187:46
453 LL | enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
456 help: remove these bounds
458 LL - enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
459 LL + enum TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
462 error: outlives requirements can be inferred
463 --> $DIR/edition-lint-infer-outlives-multispan.rs:193:46
465 LL | enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
468 help: remove these bounds
470 LL - enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
471 LL + enum TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
474 error: outlives requirements can be inferred
475 --> $DIR/edition-lint-infer-outlives-multispan.rs:199:44
477 LL | enum TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
480 help: remove these bounds
482 LL - enum TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
483 LL + enum TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
486 error: outlives requirements can be inferred
487 --> $DIR/edition-lint-infer-outlives-multispan.rs:205:65
489 LL | enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
492 help: remove these bounds
494 LL - enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
495 LL + enum TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
498 error: outlives requirements can be inferred
499 --> $DIR/edition-lint-infer-outlives-multispan.rs:211:51
501 LL | enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
504 help: remove these bounds
506 LL - enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
507 LL + enum TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
510 error: outlives requirements can be inferred
511 --> $DIR/edition-lint-infer-outlives-multispan.rs:217:51
513 LL | enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
516 help: remove these bounds
518 LL - enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
519 LL + enum TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
522 error: outlives requirements can be inferred
523 --> $DIR/edition-lint-infer-outlives-multispan.rs:223:67
525 LL | enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
528 help: remove these bounds
530 LL - enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
531 LL + enum TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
534 error: outlives requirements can be inferred
535 --> $DIR/edition-lint-infer-outlives-multispan.rs:229:67
537 LL | enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
540 help: remove these bounds
542 LL - enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
543 LL + enum TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
546 error: outlives requirements can be inferred
547 --> $DIR/edition-lint-infer-outlives-multispan.rs:235:36
549 LL | enum BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
552 help: remove these bounds
554 LL - enum BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
555 LL + enum BeeOutlivesAyTeeBee<'a, 'b, T> {
558 error: outlives requirements can be inferred
559 --> $DIR/edition-lint-infer-outlives-multispan.rs:240:38
561 LL | enum BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
564 help: remove these bounds
566 LL - enum BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
567 LL + enum BeeOutlivesAyTeeAyBee<'a, 'b, T> {
570 error: outlives requirements can be inferred
571 --> $DIR/edition-lint-infer-outlives-multispan.rs:246:53
573 LL | enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
576 help: remove these bounds
578 LL - enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
579 LL + enum BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
582 error: outlives requirements can be inferred
583 --> $DIR/edition-lint-infer-outlives-multispan.rs:251:66
585 LL | enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
586 | ^^^^^^^^ ^^^^^ ^^^^^
588 help: remove these bounds
590 LL - enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
591 LL + enum BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
594 error: outlives requirements can be inferred
595 --> $DIR/edition-lint-infer-outlives-multispan.rs:256:56
597 LL | enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
600 help: remove these bounds
602 LL - enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
603 LL + enum BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
606 error: outlives requirements can be inferred
607 --> $DIR/edition-lint-infer-outlives-multispan.rs:262:75
609 LL | enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
612 help: remove these bounds
614 LL - enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
615 LL + enum BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug, {
618 error: outlives requirements can be inferred
619 --> $DIR/edition-lint-infer-outlives-multispan.rs:271:46
621 LL | union TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
624 help: remove these bounds
626 LL - union TeeOutlivesAyIsDebugBee<'a, 'b, T: 'a + Debug + 'b> {
627 LL + union TeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
630 error: outlives requirements can be inferred
631 --> $DIR/edition-lint-infer-outlives-multispan.rs:276:60
633 LL | union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
636 help: remove these bounds
638 LL - union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: 'a + Debug + 'b {
639 LL + union TeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
642 error: outlives requirements can be inferred
643 --> $DIR/edition-lint-infer-outlives-multispan.rs:281:52
645 LL | union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
648 help: remove these bounds
650 LL - union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: 'a + Debug + 'b> {
651 LL + union TeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
654 error: outlives requirements can be inferred
655 --> $DIR/edition-lint-infer-outlives-multispan.rs:287:47
657 LL | union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
660 help: remove these bounds
662 LL - union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T: 'a, U: 'b + Debug> {
663 LL + union TeeOutlivesAyYooBeeIsDebug<'a, 'b, T, U: Debug> {
666 error: outlives requirements can be inferred
667 --> $DIR/edition-lint-infer-outlives-multispan.rs:293:47
669 LL | union TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
672 help: remove these bounds
674 LL - union TeeOutlivesAyYooIsDebugBee<'a, 'b, T: 'a, U: Debug + 'b> {
675 LL + union TeeOutlivesAyYooIsDebugBee<'a, 'b, T, U: Debug> {
678 error: outlives requirements can be inferred
679 --> $DIR/edition-lint-infer-outlives-multispan.rs:299:45
681 LL | union TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
684 help: remove these bounds
686 LL - union TeeOutlivesAyYooWhereBee<'a, 'b, T: 'a, U> where U: 'b {
687 LL + union TeeOutlivesAyYooWhereBee<'a, 'b, T, U> {
690 error: outlives requirements can be inferred
691 --> $DIR/edition-lint-infer-outlives-multispan.rs:305:66
693 LL | union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
696 help: remove these bounds
698 LL - union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b {
699 LL + union TeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug {
702 error: outlives requirements can be inferred
703 --> $DIR/edition-lint-infer-outlives-multispan.rs:311:52
705 LL | union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
708 help: remove these bounds
710 LL - union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T: 'a, U> where U: 'b + Debug {
711 LL + union TeeOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
714 error: outlives requirements can be inferred
715 --> $DIR/edition-lint-infer-outlives-multispan.rs:317:52
717 LL | union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
720 help: remove these bounds
722 LL - union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T: 'a, U> where U: Debug + 'b {
723 LL + union TeeOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
726 error: outlives requirements can be inferred
727 --> $DIR/edition-lint-infer-outlives-multispan.rs:323:68
729 LL | union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
732 help: remove these bounds
734 LL - union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where T: 'a, U: 'b + Debug {
735 LL + union TeeWhereOutlivesAyYooWhereBeeIsDebug<'a, 'b, T, U> where U: Debug {
738 error: outlives requirements can be inferred
739 --> $DIR/edition-lint-infer-outlives-multispan.rs:329:68
741 LL | union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
744 help: remove these bounds
746 LL - union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where T: 'a, U: Debug + 'b {
747 LL + union TeeWhereOutlivesAyYooWhereIsDebugBee<'a, 'b, T, U> where U: Debug {
750 error: outlives requirements can be inferred
751 --> $DIR/edition-lint-infer-outlives-multispan.rs:335:37
753 LL | union BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
756 help: remove these bounds
758 LL - union BeeOutlivesAyTeeBee<'a, 'b: 'a, T: 'b> {
759 LL + union BeeOutlivesAyTeeBee<'a, 'b, T> {
762 error: outlives requirements can be inferred
763 --> $DIR/edition-lint-infer-outlives-multispan.rs:340:39
765 LL | union BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
768 help: remove these bounds
770 LL - union BeeOutlivesAyTeeAyBee<'a, 'b: 'a, T: 'a + 'b> {
771 LL + union BeeOutlivesAyTeeAyBee<'a, 'b, T> {
774 error: outlives requirements can be inferred
775 --> $DIR/edition-lint-infer-outlives-multispan.rs:345:54
777 LL | union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
780 help: remove these bounds
782 LL - union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b: 'a, T: 'a + Debug + 'b> {
783 LL + union BeeOutlivesAyTeeOutlivesAyIsDebugBee<'a, 'b, T: Debug> {
786 error: outlives requirements can be inferred
787 --> $DIR/edition-lint-infer-outlives-multispan.rs:350:67
789 LL | union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
790 | ^^^^^^^^ ^^^^^ ^^^^^
792 help: remove these bounds
794 LL - union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where 'b: 'a, T: 'a + Debug + 'b {
795 LL + union BeeWhereAyTeeWhereOutlivesAyIsDebugBee<'a, 'b, T> where T: Debug {
798 error: outlives requirements can be inferred
799 --> $DIR/edition-lint-infer-outlives-multispan.rs:355:57
801 LL | union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
804 help: remove these bounds
806 LL - union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b: 'a, T, U: 'a + Debug + 'b> {
807 LL + union BeeOutlivesAyTeeYooOutlivesAyIsDebugBee<'a, 'b, T, U: Debug> {
810 error: outlives requirements can be inferred
811 --> $DIR/edition-lint-infer-outlives-multispan.rs:361:76
813 LL | union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
816 help: remove these bounds
818 LL - union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: 'a + Debug + 'b, 'b: 'a {
819 LL + union BeeWhereAyTeeYooWhereOutlivesAyIsDebugBee<'a, 'b, T, U> where U: Debug, {
822 error: aborting due to 68 previous errors