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