@@ -232,317 +232,269 @@ LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {}
232
232
| `Item` bound here first
233
233
234
234
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
235
- --> $DIR/duplicate.rs:73:39
236
- |
237
- LL | const CIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
238
- | ---------- ^^^^^^^^^^ re-bound here
239
- | |
240
- | `Item` bound here first
241
-
242
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
243
- --> $DIR/duplicate.rs:75:39
244
- |
245
- LL | const CIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
246
- | ---------- ^^^^^^^^^^ re-bound here
247
- | |
248
- | `Item` bound here first
249
-
250
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
251
- --> $DIR/duplicate.rs:77:42
252
- |
253
- LL | const CIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
254
- | ------------- ^^^^^^^^^^^^^ re-bound here
255
- | |
256
- | `Item` bound here first
257
-
258
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
259
- --> $DIR/duplicate.rs:79:40
260
- |
261
- LL | static SIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
262
- | ---------- ^^^^^^^^^^ re-bound here
263
- | |
264
- | `Item` bound here first
265
-
266
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
267
- --> $DIR/duplicate.rs:81:40
268
- |
269
- LL | static SIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
270
- | ---------- ^^^^^^^^^^ re-bound here
271
- | |
272
- | `Item` bound here first
273
-
274
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
275
- --> $DIR/duplicate.rs:83:43
276
- |
277
- LL | static SIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
278
- | ------------- ^^^^^^^^^^^^^ re-bound here
279
- | |
280
- | `Item` bound here first
281
-
282
- error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
283
- --> $DIR/duplicate.rs:86:35
235
+ --> $DIR/duplicate.rs:73:35
284
236
|
285
237
LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T;
286
238
| ---------- ^^^^^^^^^^ re-bound here
287
239
| |
288
240
| `Item` bound here first
289
241
290
242
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
291
- --> $DIR/duplicate.rs:88 :35
243
+ --> $DIR/duplicate.rs:75 :35
292
244
|
293
245
LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T;
294
246
| ---------- ^^^^^^^^^^ re-bound here
295
247
| |
296
248
| `Item` bound here first
297
249
298
250
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
299
- --> $DIR/duplicate.rs:90 :38
251
+ --> $DIR/duplicate.rs:77 :38
300
252
|
301
253
LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T;
302
254
| ------------- ^^^^^^^^^^^^^ re-bound here
303
255
| |
304
256
| `Item` bound here first
305
257
306
258
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
307
- --> $DIR/duplicate.rs:92 :44
259
+ --> $DIR/duplicate.rs:79 :44
308
260
|
309
261
LL | type TAW1<T> where T: Iterator<Item: Copy, Item: Send> = T;
310
262
| ---------- ^^^^^^^^^^ re-bound here
311
263
| |
312
264
| `Item` bound here first
313
265
314
266
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
315
- --> $DIR/duplicate.rs:94 :44
267
+ --> $DIR/duplicate.rs:81 :44
316
268
|
317
269
LL | type TAW2<T> where T: Iterator<Item: Copy, Item: Copy> = T;
318
270
| ---------- ^^^^^^^^^^ re-bound here
319
271
| |
320
272
| `Item` bound here first
321
273
322
274
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
323
- --> $DIR/duplicate.rs:96 :47
275
+ --> $DIR/duplicate.rs:83 :47
324
276
|
325
277
LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
326
278
| ------------- ^^^^^^^^^^^^^ re-bound here
327
279
| |
328
280
| `Item` bound here first
329
281
330
282
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
331
- --> $DIR/duplicate.rs:99 :36
283
+ --> $DIR/duplicate.rs:86 :36
332
284
|
333
285
LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
334
286
| ---------- ^^^^^^^^^^ re-bound here
335
287
| |
336
288
| `Item` bound here first
337
289
338
290
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
339
- --> $DIR/duplicate.rs:101 :36
291
+ --> $DIR/duplicate.rs:88 :36
340
292
|
341
293
LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
342
294
| ---------- ^^^^^^^^^^ re-bound here
343
295
| |
344
296
| `Item` bound here first
345
297
346
298
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
347
- --> $DIR/duplicate.rs:103 :39
299
+ --> $DIR/duplicate.rs:90 :39
348
300
|
349
301
LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
350
302
| ------------- ^^^^^^^^^^^^^ re-bound here
351
303
| |
352
304
| `Item` bound here first
353
305
354
306
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
355
- --> $DIR/duplicate.rs:105 :40
307
+ --> $DIR/duplicate.rs:92 :40
356
308
|
357
309
LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
358
310
| ---------- ^^^^^^^^^^ re-bound here
359
311
| |
360
312
| `Item` bound here first
361
313
362
314
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
363
- --> $DIR/duplicate.rs:107 :40
315
+ --> $DIR/duplicate.rs:94 :40
364
316
|
365
317
LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
366
318
| ---------- ^^^^^^^^^^ re-bound here
367
319
| |
368
320
| `Item` bound here first
369
321
370
322
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
371
- --> $DIR/duplicate.rs:109 :43
323
+ --> $DIR/duplicate.rs:96 :43
372
324
|
373
325
LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
374
326
| ------------- ^^^^^^^^^^^^^ re-bound here
375
327
| |
376
328
| `Item` bound here first
377
329
378
330
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
379
- --> $DIR/duplicate.rs:112 :36
331
+ --> $DIR/duplicate.rs:99 :36
380
332
|
381
333
LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {}
382
334
| ---------- ^^^^^^^^^^ re-bound here
383
335
| |
384
336
| `Item` bound here first
385
337
386
338
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
387
- --> $DIR/duplicate.rs:114 :36
339
+ --> $DIR/duplicate.rs:101 :36
388
340
|
389
341
LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {}
390
342
| ---------- ^^^^^^^^^^ re-bound here
391
343
| |
392
344
| `Item` bound here first
393
345
394
346
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
395
- --> $DIR/duplicate.rs:116 :39
347
+ --> $DIR/duplicate.rs:103 :39
396
348
|
397
349
LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {}
398
350
| ------------- ^^^^^^^^^^^^^ re-bound here
399
351
| |
400
352
| `Item` bound here first
401
353
402
354
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
403
- --> $DIR/duplicate.rs:118 :34
355
+ --> $DIR/duplicate.rs:105 :34
404
356
|
405
357
LL | trait TRS1: Iterator<Item: Copy, Item: Send> {}
406
358
| ---------- ^^^^^^^^^^ re-bound here
407
359
| |
408
360
| `Item` bound here first
409
361
410
362
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
411
- --> $DIR/duplicate.rs:120 :34
363
+ --> $DIR/duplicate.rs:107 :34
412
364
|
413
365
LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {}
414
366
| ---------- ^^^^^^^^^^ re-bound here
415
367
| |
416
368
| `Item` bound here first
417
369
418
370
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
419
- --> $DIR/duplicate.rs:122 :37
371
+ --> $DIR/duplicate.rs:109 :37
420
372
|
421
373
LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {}
422
374
| ------------- ^^^^^^^^^^^^^ re-bound here
423
375
| |
424
376
| `Item` bound here first
425
377
426
378
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
427
- --> $DIR/duplicate.rs:124 :45
379
+ --> $DIR/duplicate.rs:111 :45
428
380
|
429
381
LL | trait TRW1<T> where T: Iterator<Item: Copy, Item: Send> {}
430
382
| ---------- ^^^^^^^^^^ re-bound here
431
383
| |
432
384
| `Item` bound here first
433
385
434
386
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
435
- --> $DIR/duplicate.rs:126 :45
387
+ --> $DIR/duplicate.rs:113 :45
436
388
|
437
389
LL | trait TRW2<T> where T: Iterator<Item: Copy, Item: Copy> {}
438
390
| ---------- ^^^^^^^^^^ re-bound here
439
391
| |
440
392
| `Item` bound here first
441
393
442
394
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
443
- --> $DIR/duplicate.rs:128 :48
395
+ --> $DIR/duplicate.rs:115 :48
444
396
|
445
397
LL | trait TRW3<T> where T: Iterator<Item: 'static, Item: 'static> {}
446
398
| ------------- ^^^^^^^^^^^^^ re-bound here
447
399
| |
448
400
| `Item` bound here first
449
401
450
402
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
451
- --> $DIR/duplicate.rs:130 :46
403
+ --> $DIR/duplicate.rs:117 :46
452
404
|
453
405
LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
454
406
| ---------- ^^^^^^^^^^ re-bound here
455
407
| |
456
408
| `Item` bound here first
457
409
458
410
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
459
- --> $DIR/duplicate.rs:130 :46
411
+ --> $DIR/duplicate.rs:117 :46
460
412
|
461
413
LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
462
414
| ---------- ^^^^^^^^^^ re-bound here
463
415
| |
464
416
| `Item` bound here first
465
417
466
418
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
467
- --> $DIR/duplicate.rs:133 :46
419
+ --> $DIR/duplicate.rs:120 :46
468
420
|
469
421
LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
470
422
| ---------- ^^^^^^^^^^ re-bound here
471
423
| |
472
424
| `Item` bound here first
473
425
474
426
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
475
- --> $DIR/duplicate.rs:133 :46
427
+ --> $DIR/duplicate.rs:120 :46
476
428
|
477
429
LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
478
430
| ---------- ^^^^^^^^^^ re-bound here
479
431
| |
480
432
| `Item` bound here first
481
433
482
434
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
483
- --> $DIR/duplicate.rs:136 :49
435
+ --> $DIR/duplicate.rs:123 :49
484
436
|
485
437
LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
486
438
| ------------- ^^^^^^^^^^^^^ re-bound here
487
439
| |
488
440
| `Item` bound here first
489
441
490
442
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
491
- --> $DIR/duplicate.rs:136 :49
443
+ --> $DIR/duplicate.rs:123 :49
492
444
|
493
445
LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
494
446
| ------------- ^^^^^^^^^^^^^ re-bound here
495
447
| |
496
448
| `Item` bound here first
497
449
498
450
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
499
- --> $DIR/duplicate.rs:146 :40
451
+ --> $DIR/duplicate.rs:133 :40
500
452
|
501
453
LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
502
454
| ---------- ^^^^^^^^^^ re-bound here
503
455
| |
504
456
| `Item` bound here first
505
457
506
458
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
507
- --> $DIR/duplicate.rs:148 :44
459
+ --> $DIR/duplicate.rs:135 :44
508
460
|
509
461
LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
510
462
| ---------- ^^^^^^^^^^ re-bound here
511
463
| |
512
464
| `Item` bound here first
513
465
514
466
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
515
- --> $DIR/duplicate.rs:150 :43
467
+ --> $DIR/duplicate.rs:137 :43
516
468
|
517
469
LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
518
470
| ------------- ^^^^^^^^^^^^^ re-bound here
519
471
| |
520
472
| `Item` bound here first
521
473
522
474
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
523
- --> $DIR/duplicate.rs:139 :43
475
+ --> $DIR/duplicate.rs:126 :43
524
476
|
525
477
LL | trait TRA1 { type A: Iterator<Item: Copy, Item: Send>; }
526
478
| ---------- ^^^^^^^^^^ re-bound here
527
479
| |
528
480
| `Item` bound here first
529
481
530
482
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
531
- --> $DIR/duplicate.rs:141 :43
483
+ --> $DIR/duplicate.rs:128 :43
532
484
|
533
485
LL | trait TRA2 { type A: Iterator<Item: Copy, Item: Copy>; }
534
486
| ---------- ^^^^^^^^^^ re-bound here
535
487
| |
536
488
| `Item` bound here first
537
489
538
490
error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
539
- --> $DIR/duplicate.rs:143 :46
491
+ --> $DIR/duplicate.rs:130 :46
540
492
|
541
493
LL | trait TRA3 { type A: Iterator<Item: 'static, Item: 'static>; }
542
494
| ------------- ^^^^^^^^^^^^^ re-bound here
543
495
| |
544
496
| `Item` bound here first
545
497
546
- error: aborting due to 66 previous errors; 2 warnings emitted
498
+ error: aborting due to 60 previous errors; 2 warnings emitted
547
499
548
500
For more information about this error, try `rustc --explain E0719`.
0 commit comments