1 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
2 --> $DIR/duplicate.rs:7:36
4 LL | struct SI1<T: Iterator<Item: Copy, Item: Send>> {
5 | ---------- ^^^^^^^^^^ re-bound here
7 | `Item` bound here first
9 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
10 --> $DIR/duplicate.rs:11:36
12 LL | struct SI2<T: Iterator<Item: Copy, Item: Copy>> {
13 | ---------- ^^^^^^^^^^ re-bound here
15 | `Item` bound here first
17 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
18 --> $DIR/duplicate.rs:15:39
20 LL | struct SI3<T: Iterator<Item: 'static, Item: 'static>> {
21 | ------------- ^^^^^^^^^^^^^ re-bound here
23 | `Item` bound here first
25 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
26 --> $DIR/duplicate.rs:21:29
28 LL | T: Iterator<Item: Copy, Item: Send>,
29 | ---------- ^^^^^^^^^^ re-bound here
31 | `Item` bound here first
33 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
34 --> $DIR/duplicate.rs:28:29
36 LL | T: Iterator<Item: Copy, Item: Copy>,
37 | ---------- ^^^^^^^^^^ re-bound here
39 | `Item` bound here first
41 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
42 --> $DIR/duplicate.rs:35:32
44 LL | T: Iterator<Item: 'static, Item: 'static>,
45 | ------------- ^^^^^^^^^^^^^ re-bound here
47 | `Item` bound here first
49 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
50 --> $DIR/duplicate.rs:41:34
52 LL | enum EI1<T: Iterator<Item: Copy, Item: Send>> {
53 | ---------- ^^^^^^^^^^ re-bound here
55 | `Item` bound here first
57 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
58 --> $DIR/duplicate.rs:45:34
60 LL | enum EI2<T: Iterator<Item: Copy, Item: Copy>> {
61 | ---------- ^^^^^^^^^^ re-bound here
63 | `Item` bound here first
65 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
66 --> $DIR/duplicate.rs:49:37
68 LL | enum EI3<T: Iterator<Item: 'static, Item: 'static>> {
69 | ------------- ^^^^^^^^^^^^^ re-bound here
71 | `Item` bound here first
73 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74 --> $DIR/duplicate.rs:55:29
76 LL | T: Iterator<Item: Copy, Item: Send>,
77 | ---------- ^^^^^^^^^^ re-bound here
79 | `Item` bound here first
81 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
82 --> $DIR/duplicate.rs:62:29
84 LL | T: Iterator<Item: Copy, Item: Copy>,
85 | ---------- ^^^^^^^^^^ re-bound here
87 | `Item` bound here first
89 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
90 --> $DIR/duplicate.rs:69:32
92 LL | T: Iterator<Item: 'static, Item: 'static>,
93 | ------------- ^^^^^^^^^^^^^ re-bound here
95 | `Item` bound here first
97 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
98 --> $DIR/duplicate.rs:75:35
100 LL | union UI1<T: Iterator<Item: Copy, Item: Send>> {
101 | ---------- ^^^^^^^^^^ re-bound here
103 | `Item` bound here first
105 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
106 --> $DIR/duplicate.rs:79:35
108 LL | union UI2<T: Iterator<Item: Copy, Item: Copy>> {
109 | ---------- ^^^^^^^^^^ re-bound here
111 | `Item` bound here first
113 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
114 --> $DIR/duplicate.rs:83:38
116 LL | union UI3<T: Iterator<Item: 'static, Item: 'static>> {
117 | ------------- ^^^^^^^^^^^^^ re-bound here
119 | `Item` bound here first
121 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
122 --> $DIR/duplicate.rs:89:29
124 LL | T: Iterator<Item: Copy, Item: Send>,
125 | ---------- ^^^^^^^^^^ re-bound here
127 | `Item` bound here first
129 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
130 --> $DIR/duplicate.rs:96:29
132 LL | T: Iterator<Item: Copy, Item: Copy>,
133 | ---------- ^^^^^^^^^^ re-bound here
135 | `Item` bound here first
137 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
138 --> $DIR/duplicate.rs:103:32
140 LL | T: Iterator<Item: 'static, Item: 'static>,
141 | ------------- ^^^^^^^^^^^^^ re-bound here
143 | `Item` bound here first
145 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
146 --> $DIR/duplicate.rs:109:32
148 LL | fn FI1<T: Iterator<Item: Copy, Item: Send>>() {}
149 | ---------- ^^^^^^^^^^ re-bound here
151 | `Item` bound here first
153 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
154 --> $DIR/duplicate.rs:111:32
156 LL | fn FI2<T: Iterator<Item: Copy, Item: Copy>>() {}
157 | ---------- ^^^^^^^^^^ re-bound here
159 | `Item` bound here first
161 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
162 --> $DIR/duplicate.rs:113:35
164 LL | fn FI3<T: Iterator<Item: 'static, Item: 'static>>() {}
165 | ------------- ^^^^^^^^^^^^^ re-bound here
167 | `Item` bound here first
169 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
170 --> $DIR/duplicate.rs:117:29
172 LL | T: Iterator<Item: Copy, Item: Send>,
173 | ---------- ^^^^^^^^^^ re-bound here
175 | `Item` bound here first
177 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
178 --> $DIR/duplicate.rs:123:29
180 LL | T: Iterator<Item: Copy, Item: Copy>,
181 | ---------- ^^^^^^^^^^ re-bound here
183 | `Item` bound here first
185 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
186 --> $DIR/duplicate.rs:129:32
188 LL | T: Iterator<Item: 'static, Item: 'static>,
189 | ------------- ^^^^^^^^^^^^^ re-bound here
191 | `Item` bound here first
193 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
194 --> $DIR/duplicate.rs:134:42
196 LL | fn FRPIT1() -> impl Iterator<Item: Copy, Item: Send> {
197 | ---------- ^^^^^^^^^^ re-bound here
199 | `Item` bound here first
201 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
202 --> $DIR/duplicate.rs:138:42
204 LL | fn FRPIT2() -> impl Iterator<Item: Copy, Item: Copy> {
205 | ---------- ^^^^^^^^^^ re-bound here
207 | `Item` bound here first
209 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
210 --> $DIR/duplicate.rs:142:45
212 LL | fn FRPIT3() -> impl Iterator<Item: 'static, Item: 'static> {
213 | ------------- ^^^^^^^^^^^^^ re-bound here
215 | `Item` bound here first
217 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
218 --> $DIR/duplicate.rs:146:40
220 LL | fn FAPIT1(_: impl Iterator<Item: Copy, Item: Send>) {}
221 | ---------- ^^^^^^^^^^ re-bound here
223 | `Item` bound here first
225 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
226 --> $DIR/duplicate.rs:148:40
228 LL | fn FAPIT2(_: impl Iterator<Item: Copy, Item: Copy>) {}
229 | ---------- ^^^^^^^^^^ re-bound here
231 | `Item` bound here first
233 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
234 --> $DIR/duplicate.rs:150:43
236 LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {}
237 | ------------- ^^^^^^^^^^^^^ re-bound here
239 | `Item` bound here first
241 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
242 --> $DIR/duplicate.rs:153:35
244 LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T;
245 | ---------- ^^^^^^^^^^ re-bound here
247 | `Item` bound here first
249 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
250 --> $DIR/duplicate.rs:155:35
252 LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T;
253 | ---------- ^^^^^^^^^^ re-bound here
255 | `Item` bound here first
257 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
258 --> $DIR/duplicate.rs:157:38
260 LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T;
261 | ------------- ^^^^^^^^^^^^^ re-bound here
263 | `Item` bound here first
265 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
266 --> $DIR/duplicate.rs:161:29
268 LL | T: Iterator<Item: Copy, Item: Send>,
269 | ---------- ^^^^^^^^^^ re-bound here
271 | `Item` bound here first
273 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
274 --> $DIR/duplicate.rs:166:29
276 LL | T: Iterator<Item: Copy, Item: Copy>,
277 | ---------- ^^^^^^^^^^ re-bound here
279 | `Item` bound here first
281 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
282 --> $DIR/duplicate.rs:171:32
284 LL | T: Iterator<Item: 'static, Item: 'static>,
285 | ------------- ^^^^^^^^^^^^^ re-bound here
287 | `Item` bound here first
289 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
290 --> $DIR/duplicate.rs:175:36
292 LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
293 | ---------- ^^^^^^^^^^ re-bound here
295 | `Item` bound here first
297 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
298 --> $DIR/duplicate.rs:177:36
300 LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
301 | ---------- ^^^^^^^^^^ re-bound here
303 | `Item` bound here first
305 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
306 --> $DIR/duplicate.rs:179:39
308 LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
309 | ------------- ^^^^^^^^^^^^^ re-bound here
311 | `Item` bound here first
313 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
314 --> $DIR/duplicate.rs:181:40
316 LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
317 | ---------- ^^^^^^^^^^ re-bound here
319 | `Item` bound here first
321 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
322 --> $DIR/duplicate.rs:183:40
324 LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
325 | ---------- ^^^^^^^^^^ re-bound here
327 | `Item` bound here first
329 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
330 --> $DIR/duplicate.rs:185:43
332 LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
333 | ------------- ^^^^^^^^^^^^^ re-bound here
335 | `Item` bound here first
337 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
338 --> $DIR/duplicate.rs:188:36
340 LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {}
341 | ---------- ^^^^^^^^^^ re-bound here
343 | `Item` bound here first
345 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
346 --> $DIR/duplicate.rs:190:36
348 LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {}
349 | ---------- ^^^^^^^^^^ re-bound here
351 | `Item` bound here first
353 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
354 --> $DIR/duplicate.rs:192:39
356 LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {}
357 | ------------- ^^^^^^^^^^^^^ re-bound here
359 | `Item` bound here first
361 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
362 --> $DIR/duplicate.rs:194:34
364 LL | trait TRS1: Iterator<Item: Copy, Item: Send> {}
365 | ---------- ^^^^^^^^^^ re-bound here
367 | `Item` bound here first
369 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
370 --> $DIR/duplicate.rs:196:34
372 LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {}
373 | ---------- ^^^^^^^^^^ re-bound here
375 | `Item` bound here first
377 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
378 --> $DIR/duplicate.rs:198:37
380 LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {}
381 | ------------- ^^^^^^^^^^^^^ re-bound here
383 | `Item` bound here first
385 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
386 --> $DIR/duplicate.rs:202:29
388 LL | T: Iterator<Item: Copy, Item: Send>,
389 | ---------- ^^^^^^^^^^ re-bound here
391 | `Item` bound here first
393 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
394 --> $DIR/duplicate.rs:208:29
396 LL | T: Iterator<Item: Copy, Item: Copy>,
397 | ---------- ^^^^^^^^^^ re-bound here
399 | `Item` bound here first
401 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
402 --> $DIR/duplicate.rs:214:32
404 LL | T: Iterator<Item: 'static, Item: 'static>,
405 | ------------- ^^^^^^^^^^^^^ re-bound here
407 | `Item` bound here first
409 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
410 --> $DIR/duplicate.rs:220:32
412 LL | Self: Iterator<Item: Copy, Item: Send>,
413 | ---------- ^^^^^^^^^^ re-bound here
415 | `Item` bound here first
417 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
418 --> $DIR/duplicate.rs:220:32
420 LL | Self: Iterator<Item: Copy, Item: Send>,
421 | ---------- ^^^^^^^^^^ re-bound here
423 | `Item` bound here first
425 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
426 --> $DIR/duplicate.rs:227:32
428 LL | Self: Iterator<Item: Copy, Item: Copy>,
429 | ---------- ^^^^^^^^^^ re-bound here
431 | `Item` bound here first
433 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
434 --> $DIR/duplicate.rs:227:32
436 LL | Self: Iterator<Item: Copy, Item: Copy>,
437 | ---------- ^^^^^^^^^^ re-bound here
439 | `Item` bound here first
441 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
442 --> $DIR/duplicate.rs:234:35
444 LL | Self: Iterator<Item: 'static, Item: 'static>,
445 | ------------- ^^^^^^^^^^^^^ re-bound here
447 | `Item` bound here first
449 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
450 --> $DIR/duplicate.rs:234:35
452 LL | Self: Iterator<Item: 'static, Item: 'static>,
453 | ------------- ^^^^^^^^^^^^^ re-bound here
455 | `Item` bound here first
457 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
458 --> $DIR/duplicate.rs:252:40
460 LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
461 | ---------- ^^^^^^^^^^ re-bound here
463 | `Item` bound here first
465 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
466 --> $DIR/duplicate.rs:254:44
468 LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
469 | ---------- ^^^^^^^^^^ re-bound here
471 | `Item` bound here first
473 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
474 --> $DIR/duplicate.rs:256:43
476 LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
477 | ------------- ^^^^^^^^^^^^^ re-bound here
479 | `Item` bound here first
481 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
482 --> $DIR/duplicate.rs:240:34
484 LL | type A: Iterator<Item: Copy, Item: Send>;
485 | ---------- ^^^^^^^^^^ re-bound here
487 | `Item` bound here first
489 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
490 --> $DIR/duplicate.rs:244:34
492 LL | type A: Iterator<Item: Copy, Item: Copy>;
493 | ---------- ^^^^^^^^^^ re-bound here
495 | `Item` bound here first
497 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
498 --> $DIR/duplicate.rs:248:37
500 LL | type A: Iterator<Item: 'static, Item: 'static>;
501 | ------------- ^^^^^^^^^^^^^ re-bound here
503 | `Item` bound here first
505 error: aborting due to 63 previous errors
507 For more information about this error, try `rustc --explain E0719`.