@@ -369,86 +369,86 @@ LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
369369error: could not find defining uses
370370 --> $DIR/duplicate.rs:110:1
371371 |
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+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
374374
375375error[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
377377 |
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
382382
383383error: could not find defining uses
384384 --> $DIR/duplicate.rs:112:1
385385 |
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+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
388388
389389error[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
391391 |
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
396396
397397error: could not find defining uses
398398 --> $DIR/duplicate.rs:114:1
399399 |
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+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402402
403403error[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
405405 |
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
410410
411411error: could not find defining uses
412412 --> $DIR/duplicate.rs:116:1
413413 |
414- LL | existential type ETAI4: Iterator<Item: Copy, Item: Send>;
415- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
414+ LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
415+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
416416
417417error[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
419419 |
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
424424
425425error: could not find defining uses
426426 --> $DIR/duplicate.rs:118:1
427427 |
428- LL | existential type ETAI5: Iterator<Item: Copy, Item: Copy>;
429- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
428+ LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
429+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430430
431431error[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
433433 |
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
438438
439439error: could not find defining uses
440440 --> $DIR/duplicate.rs:120:1
441441 |
442- LL | existential type ETAI6: Iterator<Item: 'static, Item: 'static>;
443- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
442+ LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
443+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
444444
445445error[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
447447 |
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
452452
453453error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified
454454 --> $DIR/duplicate.rs:123:36
0 commit comments