1 warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
2 --> $DIR/duplicate.rs:5:12
4 LL | #![feature(impl_trait_in_bindings)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
9 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
10 --> $DIR/duplicate.rs:10:36
12 LL | struct SI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
13 | ---------- ^^^^^^^^^^ re-bound here
15 | `Item` bound here first
17 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
18 --> $DIR/duplicate.rs:12:36
20 LL | struct SI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
21 | ---------- ^^^^^^^^^^ re-bound here
23 | `Item` bound here first
25 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
26 --> $DIR/duplicate.rs:14:39
28 LL | struct SI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
29 | ------------- ^^^^^^^^^^^^^ re-bound here
31 | `Item` bound here first
33 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
34 --> $DIR/duplicate.rs:16:45
36 LL | struct SW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
37 | ---------- ^^^^^^^^^^ re-bound here
39 | `Item` bound here first
41 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
42 --> $DIR/duplicate.rs:18:45
44 LL | struct SW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
45 | ---------- ^^^^^^^^^^ re-bound here
47 | `Item` bound here first
49 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
50 --> $DIR/duplicate.rs:20:48
52 LL | struct SW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
53 | ------------- ^^^^^^^^^^^^^ re-bound here
55 | `Item` bound here first
57 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
58 --> $DIR/duplicate.rs:23:34
60 LL | enum EI1<T: Iterator<Item: Copy, Item: Send>> { V(T) }
61 | ---------- ^^^^^^^^^^ re-bound here
63 | `Item` bound here first
65 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
66 --> $DIR/duplicate.rs:25:34
68 LL | enum EI2<T: Iterator<Item: Copy, Item: Copy>> { V(T) }
69 | ---------- ^^^^^^^^^^ re-bound here
71 | `Item` bound here first
73 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74 --> $DIR/duplicate.rs:27:37
76 LL | enum EI3<T: Iterator<Item: 'static, Item: 'static>> { V(T) }
77 | ------------- ^^^^^^^^^^^^^ re-bound here
79 | `Item` bound here first
81 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
82 --> $DIR/duplicate.rs:29:43
84 LL | enum EW1<T> where T: Iterator<Item: Copy, Item: Send> { V(T) }
85 | ---------- ^^^^^^^^^^ re-bound here
87 | `Item` bound here first
89 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
90 --> $DIR/duplicate.rs:31:43
92 LL | enum EW2<T> where T: Iterator<Item: Copy, Item: Copy> { V(T) }
93 | ---------- ^^^^^^^^^^ re-bound here
95 | `Item` bound here first
97 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
98 --> $DIR/duplicate.rs:33:46
100 LL | enum EW3<T> where T: Iterator<Item: 'static, Item: 'static> { V(T) }
101 | ------------- ^^^^^^^^^^^^^ re-bound here
103 | `Item` bound here first
105 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
106 --> $DIR/duplicate.rs:36:35
108 LL | union UI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
109 | ---------- ^^^^^^^^^^ re-bound here
111 | `Item` bound here first
113 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
114 --> $DIR/duplicate.rs:38:35
116 LL | union UI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
117 | ---------- ^^^^^^^^^^ re-bound here
119 | `Item` bound here first
121 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
122 --> $DIR/duplicate.rs:40:38
124 LL | union UI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
125 | ------------- ^^^^^^^^^^^^^ re-bound here
127 | `Item` bound here first
129 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
130 --> $DIR/duplicate.rs:42:44
132 LL | union UW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
133 | ---------- ^^^^^^^^^^ re-bound here
135 | `Item` bound here first
137 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
138 --> $DIR/duplicate.rs:44:44
140 LL | union UW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
141 | ---------- ^^^^^^^^^^ re-bound here
143 | `Item` bound here first
145 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
146 --> $DIR/duplicate.rs:46:47
148 LL | union UW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
149 | ------------- ^^^^^^^^^^^^^ re-bound here
151 | `Item` bound here first
153 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
154 --> $DIR/duplicate.rs:49:32
156 LL | fn FI1<T: Iterator<Item: Copy, Item: Send>>() {}
157 | ---------- ^^^^^^^^^^ re-bound here
159 | `Item` bound here first
161 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
162 --> $DIR/duplicate.rs:51:32
164 LL | fn FI2<T: Iterator<Item: Copy, Item: Copy>>() {}
165 | ---------- ^^^^^^^^^^ re-bound here
167 | `Item` bound here first
169 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
170 --> $DIR/duplicate.rs:53:35
172 LL | fn FI3<T: Iterator<Item: 'static, Item: 'static>>() {}
173 | ------------- ^^^^^^^^^^^^^ re-bound here
175 | `Item` bound here first
177 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
178 --> $DIR/duplicate.rs:55:43
180 LL | fn FW1<T>() where T: Iterator<Item: Copy, Item: Send> {}
181 | ---------- ^^^^^^^^^^ re-bound here
183 | `Item` bound here first
185 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
186 --> $DIR/duplicate.rs:57:43
188 LL | fn FW2<T>() where T: Iterator<Item: Copy, Item: Copy> {}
189 | ---------- ^^^^^^^^^^ re-bound here
191 | `Item` bound here first
193 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
194 --> $DIR/duplicate.rs:59:46
196 LL | fn FW3<T>() where T: Iterator<Item: 'static, Item: 'static> {}
197 | ------------- ^^^^^^^^^^^^^ re-bound here
199 | `Item` bound here first
201 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
202 --> $DIR/duplicate.rs:68:40
204 LL | fn FAPIT1(_: impl Iterator<Item: Copy, Item: Send>) {}
205 | ---------- ^^^^^^^^^^ re-bound here
207 | `Item` bound here first
209 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
210 --> $DIR/duplicate.rs:70:40
212 LL | fn FAPIT2(_: impl Iterator<Item: Copy, Item: Copy>) {}
213 | ---------- ^^^^^^^^^^ re-bound here
215 | `Item` bound here first
217 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
218 --> $DIR/duplicate.rs:72:43
220 LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {}
221 | ------------- ^^^^^^^^^^^^^ re-bound here
223 | `Item` bound here first
225 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
226 --> $DIR/duplicate.rs:62:42
228 LL | fn FRPIT1() -> impl Iterator<Item: Copy, Item: Send> { iter::empty() }
229 | ---------- ^^^^^^^^^^ re-bound here
231 | `Item` bound here first
233 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
234 --> $DIR/duplicate.rs:64:42
236 LL | fn FRPIT2() -> impl Iterator<Item: Copy, Item: Copy> { iter::empty() }
237 | ---------- ^^^^^^^^^^ re-bound here
239 | `Item` bound here first
241 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
242 --> $DIR/duplicate.rs:66:45
244 LL | fn FRPIT3() -> impl Iterator<Item: 'static, Item: 'static> { iter::empty() }
245 | ------------- ^^^^^^^^^^^^^ re-bound here
247 | `Item` bound here first
249 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
250 --> $DIR/duplicate.rs:75:39
252 LL | const CIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
253 | ---------- ^^^^^^^^^^ re-bound here
255 | `Item` bound here first
257 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
258 --> $DIR/duplicate.rs:77:39
260 LL | const CIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
261 | ---------- ^^^^^^^^^^ re-bound here
263 | `Item` bound here first
265 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
266 --> $DIR/duplicate.rs:79:42
268 LL | const CIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
269 | ------------- ^^^^^^^^^^^^^ re-bound here
271 | `Item` bound here first
273 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
274 --> $DIR/duplicate.rs:81:40
276 LL | static SIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
277 | ---------- ^^^^^^^^^^ re-bound here
279 | `Item` bound here first
281 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
282 --> $DIR/duplicate.rs:83:40
284 LL | static SIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
285 | ---------- ^^^^^^^^^^ re-bound here
287 | `Item` bound here first
289 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
290 --> $DIR/duplicate.rs:85:43
292 LL | static SIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
293 | ------------- ^^^^^^^^^^^^^ re-bound here
295 | `Item` bound here first
297 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
298 --> $DIR/duplicate.rs:88:46
300 LL | fn lit1() { let _: impl Iterator<Item: Copy, Item: Send> = iter::empty(); }
301 | ---------- ^^^^^^^^^^ re-bound here
303 | `Item` bound here first
305 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
306 --> $DIR/duplicate.rs:90:46
308 LL | fn lit2() { let _: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); }
309 | ---------- ^^^^^^^^^^ re-bound here
311 | `Item` bound here first
313 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
314 --> $DIR/duplicate.rs:92:49
316 LL | fn lit3() { let _: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); }
317 | ------------- ^^^^^^^^^^^^^ re-bound here
319 | `Item` bound here first
321 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
322 --> $DIR/duplicate.rs:95:35
324 LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T;
325 | ---------- ^^^^^^^^^^ re-bound here
327 | `Item` bound here first
329 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
330 --> $DIR/duplicate.rs:97:35
332 LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T;
333 | ---------- ^^^^^^^^^^ re-bound here
335 | `Item` bound here first
337 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
338 --> $DIR/duplicate.rs:99:38
340 LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T;
341 | ------------- ^^^^^^^^^^^^^ re-bound here
343 | `Item` bound here first
345 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
346 --> $DIR/duplicate.rs:101:44
348 LL | type TAW1<T> where T: Iterator<Item: Copy, Item: Send> = T;
349 | ---------- ^^^^^^^^^^ re-bound here
351 | `Item` bound here first
353 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
354 --> $DIR/duplicate.rs:103:44
356 LL | type TAW2<T> where T: Iterator<Item: Copy, Item: Copy> = T;
357 | ---------- ^^^^^^^^^^ re-bound here
359 | `Item` bound here first
361 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
362 --> $DIR/duplicate.rs:105:47
364 LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
365 | ------------- ^^^^^^^^^^^^^ re-bound here
367 | `Item` bound here first
369 error: could not find defining uses
370 --> $DIR/duplicate.rs:108:1
372 LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
373 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
375 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
376 --> $DIR/duplicate.rs:108:36
378 LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
379 | ---------- ^^^^^^^^^^ re-bound here
381 | `Item` bound here first
383 error: could not find defining uses
384 --> $DIR/duplicate.rs:113:1
386 LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
387 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
389 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
390 --> $DIR/duplicate.rs:113:36
392 LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
393 | ---------- ^^^^^^^^^^ re-bound here
395 | `Item` bound here first
397 error: could not find defining uses
398 --> $DIR/duplicate.rs:118:1
400 LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
401 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
403 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
404 --> $DIR/duplicate.rs:118:39
406 LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
407 | ------------- ^^^^^^^^^^^^^ re-bound here
409 | `Item` bound here first
411 error: could not find defining uses
412 --> $DIR/duplicate.rs:123:1
414 LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
415 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
417 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
418 --> $DIR/duplicate.rs:123:40
420 LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
421 | ---------- ^^^^^^^^^^ re-bound here
423 | `Item` bound here first
425 error: could not find defining uses
426 --> $DIR/duplicate.rs:128:1
428 LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
429 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
431 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
432 --> $DIR/duplicate.rs:128:40
434 LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
435 | ---------- ^^^^^^^^^^ re-bound here
437 | `Item` bound here first
439 error: could not find defining uses
440 --> $DIR/duplicate.rs:133:1
442 LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
443 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
445 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
446 --> $DIR/duplicate.rs:133:43
448 LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
449 | ------------- ^^^^^^^^^^^^^ re-bound here
451 | `Item` bound here first
453 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
454 --> $DIR/duplicate.rs:139:36
456 LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {}
457 | ---------- ^^^^^^^^^^ re-bound here
459 | `Item` bound here first
461 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
462 --> $DIR/duplicate.rs:141:36
464 LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {}
465 | ---------- ^^^^^^^^^^ re-bound here
467 | `Item` bound here first
469 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
470 --> $DIR/duplicate.rs:143:39
472 LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {}
473 | ------------- ^^^^^^^^^^^^^ re-bound here
475 | `Item` bound here first
477 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
478 --> $DIR/duplicate.rs:145:34
480 LL | trait TRS1: Iterator<Item: Copy, Item: Send> {}
481 | ---------- ^^^^^^^^^^ re-bound here
483 | `Item` bound here first
485 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
486 --> $DIR/duplicate.rs:147:34
488 LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {}
489 | ---------- ^^^^^^^^^^ re-bound here
491 | `Item` bound here first
493 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
494 --> $DIR/duplicate.rs:149:37
496 LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {}
497 | ------------- ^^^^^^^^^^^^^ re-bound here
499 | `Item` bound here first
501 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
502 --> $DIR/duplicate.rs:151:45
504 LL | trait TRW1<T> where T: Iterator<Item: Copy, Item: Send> {}
505 | ---------- ^^^^^^^^^^ re-bound here
507 | `Item` bound here first
509 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
510 --> $DIR/duplicate.rs:153:45
512 LL | trait TRW2<T> where T: Iterator<Item: Copy, Item: Copy> {}
513 | ---------- ^^^^^^^^^^ re-bound here
515 | `Item` bound here first
517 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
518 --> $DIR/duplicate.rs:155:48
520 LL | trait TRW3<T> where T: Iterator<Item: 'static, Item: 'static> {}
521 | ------------- ^^^^^^^^^^^^^ re-bound here
523 | `Item` bound here first
525 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
526 --> $DIR/duplicate.rs:157:46
528 LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
529 | ---------- ^^^^^^^^^^ re-bound here
531 | `Item` bound here first
533 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
534 --> $DIR/duplicate.rs:157:46
536 LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
537 | ---------- ^^^^^^^^^^ re-bound here
539 | `Item` bound here first
541 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
542 --> $DIR/duplicate.rs:160:46
544 LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
545 | ---------- ^^^^^^^^^^ re-bound here
547 | `Item` bound here first
549 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
550 --> $DIR/duplicate.rs:160:46
552 LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
553 | ---------- ^^^^^^^^^^ re-bound here
555 | `Item` bound here first
557 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
558 --> $DIR/duplicate.rs:163:49
560 LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
561 | ------------- ^^^^^^^^^^^^^ re-bound here
563 | `Item` bound here first
565 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
566 --> $DIR/duplicate.rs:163:49
568 LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
569 | ------------- ^^^^^^^^^^^^^ re-bound here
571 | `Item` bound here first
573 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
574 --> $DIR/duplicate.rs:166:43
576 LL | trait TRA1 { type A: Iterator<Item: Copy, Item: Send>; }
577 | ---------- ^^^^^^^^^^ re-bound here
579 | `Item` bound here first
581 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
582 --> $DIR/duplicate.rs:168:43
584 LL | trait TRA2 { type A: Iterator<Item: Copy, Item: Copy>; }
585 | ---------- ^^^^^^^^^^ re-bound here
587 | `Item` bound here first
589 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
590 --> $DIR/duplicate.rs:170:46
592 LL | trait TRA3 { type A: Iterator<Item: 'static, Item: 'static>; }
593 | ------------- ^^^^^^^^^^^^^ re-bound here
595 | `Item` bound here first
597 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
598 --> $DIR/duplicate.rs:173:40
600 LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
601 | ---------- ^^^^^^^^^^ re-bound here
603 | `Item` bound here first
605 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
606 --> $DIR/duplicate.rs:177:44
608 LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
609 | ---------- ^^^^^^^^^^ re-bound here
611 | `Item` bound here first
613 error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
614 --> $DIR/duplicate.rs:181:43
616 LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
617 | ------------- ^^^^^^^^^^^^^ re-bound here
619 | `Item` bound here first
621 error: could not find defining uses
622 --> $DIR/duplicate.rs:108:24
624 LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
627 error: could not find defining uses
628 --> $DIR/duplicate.rs:108:36
630 LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
633 error: could not find defining uses
634 --> $DIR/duplicate.rs:113:24
636 LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
639 error: could not find defining uses
640 --> $DIR/duplicate.rs:113:36
642 LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
645 error: could not find defining uses
646 --> $DIR/duplicate.rs:118:24
648 LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
651 error: could not find defining uses
652 --> $DIR/duplicate.rs:118:39
654 LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
657 error: could not find defining uses
658 --> $DIR/duplicate.rs:123:28
660 LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
663 error: could not find defining uses
664 --> $DIR/duplicate.rs:123:40
666 LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
669 error: could not find defining uses
670 --> $DIR/duplicate.rs:128:28
672 LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
675 error: could not find defining uses
676 --> $DIR/duplicate.rs:128:40
678 LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
681 error: could not find defining uses
682 --> $DIR/duplicate.rs:133:28
684 LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
687 error: could not find defining uses
688 --> $DIR/duplicate.rs:133:43
690 LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
693 error: could not find defining uses
694 --> $DIR/duplicate.rs:173:28
696 LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
699 error: could not find defining uses
700 --> $DIR/duplicate.rs:173:40
702 LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
705 error: could not find defining uses
706 --> $DIR/duplicate.rs:177:32
708 LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
711 error: could not find defining uses
712 --> $DIR/duplicate.rs:177:44
714 LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
717 error: could not find defining uses
718 --> $DIR/duplicate.rs:181:28
720 LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
723 error: could not find defining uses
724 --> $DIR/duplicate.rs:181:43
726 LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
729 error: aborting due to 96 previous errors; 1 warning emitted
731 For more information about this error, try `rustc --explain E0719`.