@@ -369,86 +369,86 @@ LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
369
369
error: could not find defining uses
370
370
--> $DIR/duplicate.rs:110:1
371
371
|
372
- LL | existential type ETAI1<T: Iterator<Item: Copy, Item: Send>>: Copy;
373
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372
+ LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
373
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
374
374
375
375
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
376
- --> $DIR/duplicate.rs:110:48
376
+ --> $DIR/duplicate.rs:110:36
377
377
|
378
- LL | existential type ETAI1<T: Iterator<Item: Copy, Item: Send>>: Copy;
379
- | ---------- ^^^^^^^^^^ re-bound here
380
- | |
381
- | `Item` bound here first
378
+ LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
379
+ | ---------- ^^^^^^^^^^ re-bound here
380
+ | |
381
+ | `Item` bound here first
382
382
383
383
error: could not find defining uses
384
384
--> $DIR/duplicate.rs:112:1
385
385
|
386
- LL | existential type ETAI2<T: Iterator<Item: Copy, Item: Copy>>: Copy;
387
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
386
+ LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
387
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
388
388
389
389
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
390
- --> $DIR/duplicate.rs:112:48
390
+ --> $DIR/duplicate.rs:112:36
391
391
|
392
- LL | existential type ETAI2<T: Iterator<Item: Copy, Item: Copy>>: Copy;
393
- | ---------- ^^^^^^^^^^ re-bound here
394
- | |
395
- | `Item` bound here first
392
+ LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
393
+ | ---------- ^^^^^^^^^^ re-bound here
394
+ | |
395
+ | `Item` bound here first
396
396
397
397
error: could not find defining uses
398
398
--> $DIR/duplicate.rs:114:1
399
399
|
400
- LL | existential type ETAI3<T: Iterator<Item: 'static, Item: 'static>>: Copy;
401
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
400
+ LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
401
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402
402
403
403
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
404
- --> $DIR/duplicate.rs:114:51
404
+ --> $DIR/duplicate.rs:114:39
405
405
|
406
- LL | existential type ETAI3<T: Iterator<Item: 'static, Item: 'static>>: Copy;
407
- | ------------- ^^^^^^^^^^^^^ re-bound here
408
- | |
409
- | `Item` bound here first
406
+ LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
407
+ | ------------- ^^^^^^^^^^^^^ re-bound here
408
+ | |
409
+ | `Item` bound here first
410
410
411
411
error: could not find defining uses
412
412
--> $DIR/duplicate.rs:116:1
413
413
|
414
- LL | existential type ETAI4: Iterator<Item: Copy, Item: Send>;
415
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
414
+ LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
415
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
416
416
417
417
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
418
- --> $DIR/duplicate.rs:116:46
418
+ --> $DIR/duplicate.rs:116:40
419
419
|
420
- LL | existential type ETAI4: Iterator<Item: Copy, Item: Send>;
421
- | ---------- ^^^^^^^^^^ re-bound here
422
- | |
423
- | `Item` bound here first
420
+ LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
421
+ | ---------- ^^^^^^^^^^ re-bound here
422
+ | |
423
+ | `Item` bound here first
424
424
425
425
error: could not find defining uses
426
426
--> $DIR/duplicate.rs:118:1
427
427
|
428
- LL | existential type ETAI5: Iterator<Item: Copy, Item: Copy>;
429
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
428
+ LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
429
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430
430
431
431
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
432
- --> $DIR/duplicate.rs:118:46
432
+ --> $DIR/duplicate.rs:118:40
433
433
|
434
- LL | existential type ETAI5: Iterator<Item: Copy, Item: Copy>;
435
- | ---------- ^^^^^^^^^^ re-bound here
436
- | |
437
- | `Item` bound here first
434
+ LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
435
+ | ---------- ^^^^^^^^^^ re-bound here
436
+ | |
437
+ | `Item` bound here first
438
438
439
439
error: could not find defining uses
440
440
--> $DIR/duplicate.rs:120:1
441
441
|
442
- LL | existential type ETAI6: Iterator<Item: 'static, Item: 'static>;
443
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
442
+ LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
443
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
444
444
445
445
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
446
- --> $DIR/duplicate.rs:120:49
446
+ --> $DIR/duplicate.rs:120:43
447
447
|
448
- LL | existential type ETAI6: Iterator<Item: 'static, Item: 'static>;
449
- | ------------- ^^^^^^^^^^^^^ re-bound here
450
- | |
451
- | `Item` bound here first
448
+ LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
449
+ | ------------- ^^^^^^^^^^^^^ re-bound here
450
+ | |
451
+ | `Item` bound here first
452
452
453
453
error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
454
454
--> $DIR/duplicate.rs:123:36
0 commit comments