]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-type-bounds/duplicate.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / associated-type-bounds / duplicate.stderr
CommitLineData
f9f354fc 1warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
74b04a01 2 --> $DIR/duplicate.rs:5:12
dc9dc135
XL
3 |
4LL | #![feature(impl_trait_in_bindings)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
416331ca
XL
6 |
7 = note: `#[warn(incomplete_features)]` on by default
f9f354fc 8 = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
dc9dc135 9
1b1a35ee 10error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 11 --> $DIR/duplicate.rs:10:36
dc9dc135
XL
12 |
13LL | struct SI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
14 | ---------- ^^^^^^^^^^ re-bound here
15 | |
16 | `Item` bound here first
17
1b1a35ee 18error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 19 --> $DIR/duplicate.rs:12:36
dc9dc135
XL
20 |
21LL | struct SI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
22 | ---------- ^^^^^^^^^^ re-bound here
23 | |
24 | `Item` bound here first
25
1b1a35ee 26error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 27 --> $DIR/duplicate.rs:14:39
dc9dc135
XL
28 |
29LL | struct SI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
30 | ------------- ^^^^^^^^^^^^^ re-bound here
31 | |
32 | `Item` bound here first
33
1b1a35ee 34error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 35 --> $DIR/duplicate.rs:16:45
dc9dc135
XL
36 |
37LL | struct SW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
38 | ---------- ^^^^^^^^^^ re-bound here
39 | |
40 | `Item` bound here first
41
1b1a35ee 42error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 43 --> $DIR/duplicate.rs:18:45
dc9dc135
XL
44 |
45LL | struct SW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
46 | ---------- ^^^^^^^^^^ re-bound here
47 | |
48 | `Item` bound here first
49
1b1a35ee 50error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 51 --> $DIR/duplicate.rs:20:48
dc9dc135
XL
52 |
53LL | struct SW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
54 | ------------- ^^^^^^^^^^^^^ re-bound here
55 | |
56 | `Item` bound here first
57
1b1a35ee 58error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 59 --> $DIR/duplicate.rs:23:34
dc9dc135
XL
60 |
61LL | enum EI1<T: Iterator<Item: Copy, Item: Send>> { V(T) }
62 | ---------- ^^^^^^^^^^ re-bound here
63 | |
64 | `Item` bound here first
65
1b1a35ee 66error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 67 --> $DIR/duplicate.rs:25:34
dc9dc135
XL
68 |
69LL | enum EI2<T: Iterator<Item: Copy, Item: Copy>> { V(T) }
70 | ---------- ^^^^^^^^^^ re-bound here
71 | |
72 | `Item` bound here first
73
1b1a35ee 74error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 75 --> $DIR/duplicate.rs:27:37
dc9dc135
XL
76 |
77LL | enum EI3<T: Iterator<Item: 'static, Item: 'static>> { V(T) }
78 | ------------- ^^^^^^^^^^^^^ re-bound here
79 | |
80 | `Item` bound here first
81
1b1a35ee 82error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 83 --> $DIR/duplicate.rs:29:43
dc9dc135
XL
84 |
85LL | enum EW1<T> where T: Iterator<Item: Copy, Item: Send> { V(T) }
86 | ---------- ^^^^^^^^^^ re-bound here
87 | |
88 | `Item` bound here first
89
1b1a35ee 90error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 91 --> $DIR/duplicate.rs:31:43
dc9dc135
XL
92 |
93LL | enum EW2<T> where T: Iterator<Item: Copy, Item: Copy> { V(T) }
94 | ---------- ^^^^^^^^^^ re-bound here
95 | |
96 | `Item` bound here first
97
1b1a35ee 98error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 99 --> $DIR/duplicate.rs:33:46
dc9dc135
XL
100 |
101LL | enum EW3<T> where T: Iterator<Item: 'static, Item: 'static> { V(T) }
102 | ------------- ^^^^^^^^^^^^^ re-bound here
103 | |
104 | `Item` bound here first
105
1b1a35ee 106error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 107 --> $DIR/duplicate.rs:36:35
dc9dc135
XL
108 |
109LL | union UI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
110 | ---------- ^^^^^^^^^^ re-bound here
111 | |
112 | `Item` bound here first
113
1b1a35ee 114error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 115 --> $DIR/duplicate.rs:38:35
dc9dc135
XL
116 |
117LL | union UI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
118 | ---------- ^^^^^^^^^^ re-bound here
119 | |
120 | `Item` bound here first
121
1b1a35ee 122error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 123 --> $DIR/duplicate.rs:40:38
dc9dc135
XL
124 |
125LL | union UI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
126 | ------------- ^^^^^^^^^^^^^ re-bound here
127 | |
128 | `Item` bound here first
129
1b1a35ee 130error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 131 --> $DIR/duplicate.rs:42:44
dc9dc135
XL
132 |
133LL | union UW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
134 | ---------- ^^^^^^^^^^ re-bound here
135 | |
136 | `Item` bound here first
137
1b1a35ee 138error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 139 --> $DIR/duplicate.rs:44:44
dc9dc135
XL
140 |
141LL | union UW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
142 | ---------- ^^^^^^^^^^ re-bound here
143 | |
144 | `Item` bound here first
145
1b1a35ee 146error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 147 --> $DIR/duplicate.rs:46:47
dc9dc135
XL
148 |
149LL | union UW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
150 | ------------- ^^^^^^^^^^^^^ re-bound here
151 | |
152 | `Item` bound here first
153
1b1a35ee 154error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 155 --> $DIR/duplicate.rs:49:32
dc9dc135
XL
156 |
157LL | fn FI1<T: Iterator<Item: Copy, Item: Send>>() {}
158 | ---------- ^^^^^^^^^^ re-bound here
159 | |
160 | `Item` bound here first
161
1b1a35ee 162error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 163 --> $DIR/duplicate.rs:51:32
dc9dc135
XL
164 |
165LL | fn FI2<T: Iterator<Item: Copy, Item: Copy>>() {}
166 | ---------- ^^^^^^^^^^ re-bound here
167 | |
168 | `Item` bound here first
169
1b1a35ee 170error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 171 --> $DIR/duplicate.rs:53:35
dc9dc135
XL
172 |
173LL | fn FI3<T: Iterator<Item: 'static, Item: 'static>>() {}
174 | ------------- ^^^^^^^^^^^^^ re-bound here
175 | |
176 | `Item` bound here first
177
1b1a35ee 178error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 179 --> $DIR/duplicate.rs:55:43
dc9dc135
XL
180 |
181LL | fn FW1<T>() where T: Iterator<Item: Copy, Item: Send> {}
182 | ---------- ^^^^^^^^^^ re-bound here
183 | |
184 | `Item` bound here first
185
1b1a35ee 186error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 187 --> $DIR/duplicate.rs:57:43
dc9dc135
XL
188 |
189LL | fn FW2<T>() where T: Iterator<Item: Copy, Item: Copy> {}
190 | ---------- ^^^^^^^^^^ re-bound here
191 | |
192 | `Item` bound here first
193
1b1a35ee 194error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
74b04a01 195 --> $DIR/duplicate.rs:59:46
dc9dc135
XL
196 |
197LL | fn FW3<T>() where T: Iterator<Item: 'static, Item: 'static> {}
198 | ------------- ^^^^^^^^^^^^^ re-bound here
199 | |
200 | `Item` bound here first
201
1b1a35ee
XL
202error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
203 --> $DIR/duplicate.rs:65:40
dc9dc135
XL
204 |
205LL | fn FAPIT1(_: impl Iterator<Item: Copy, Item: Send>) {}
206 | ---------- ^^^^^^^^^^ re-bound here
207 | |
208 | `Item` bound here first
209
1b1a35ee
XL
210error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
211 --> $DIR/duplicate.rs:67:40
dc9dc135
XL
212 |
213LL | fn FAPIT2(_: impl Iterator<Item: Copy, Item: Copy>) {}
214 | ---------- ^^^^^^^^^^ re-bound here
215 | |
216 | `Item` bound here first
217
1b1a35ee
XL
218error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
219 --> $DIR/duplicate.rs:69:43
dc9dc135
XL
220 |
221LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {}
222 | ------------- ^^^^^^^^^^^^^ re-bound here
223 | |
224 | `Item` bound here first
225
1b1a35ee
XL
226error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
227 --> $DIR/duplicate.rs:72:39
dc9dc135
XL
228 |
229LL | const CIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
230 | ---------- ^^^^^^^^^^ re-bound here
231 | |
232 | `Item` bound here first
233
1b1a35ee
XL
234error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
235 --> $DIR/duplicate.rs:74:39
dc9dc135
XL
236 |
237LL | const CIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
238 | ---------- ^^^^^^^^^^ re-bound here
239 | |
240 | `Item` bound here first
241
1b1a35ee
XL
242error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
243 --> $DIR/duplicate.rs:76:42
dc9dc135
XL
244 |
245LL | const CIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
246 | ------------- ^^^^^^^^^^^^^ re-bound here
247 | |
248 | `Item` bound here first
249
1b1a35ee
XL
250error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
251 --> $DIR/duplicate.rs:78:40
dc9dc135
XL
252 |
253LL | static SIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
254 | ---------- ^^^^^^^^^^ re-bound here
255 | |
256 | `Item` bound here first
257
1b1a35ee
XL
258error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
259 --> $DIR/duplicate.rs:80:40
dc9dc135
XL
260 |
261LL | static SIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
262 | ---------- ^^^^^^^^^^ re-bound here
263 | |
264 | `Item` bound here first
265
1b1a35ee
XL
266error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
267 --> $DIR/duplicate.rs:82:43
dc9dc135
XL
268 |
269LL | static SIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
270 | ------------- ^^^^^^^^^^^^^ re-bound here
271 | |
272 | `Item` bound here first
273
1b1a35ee
XL
274error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
275 --> $DIR/duplicate.rs:85:46
dc9dc135
XL
276 |
277LL | fn lit1() { let _: impl Iterator<Item: Copy, Item: Send> = iter::empty(); }
278 | ---------- ^^^^^^^^^^ re-bound here
279 | |
280 | `Item` bound here first
281
1b1a35ee
XL
282error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
283 --> $DIR/duplicate.rs:87:46
dc9dc135
XL
284 |
285LL | fn lit2() { let _: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); }
286 | ---------- ^^^^^^^^^^ re-bound here
287 | |
288 | `Item` bound here first
289
1b1a35ee
XL
290error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
291 --> $DIR/duplicate.rs:89:49
dc9dc135
XL
292 |
293LL | fn lit3() { let _: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); }
294 | ------------- ^^^^^^^^^^^^^ re-bound here
295 | |
296 | `Item` bound here first
297
1b1a35ee
XL
298error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
299 --> $DIR/duplicate.rs:92:35
dc9dc135
XL
300 |
301LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T;
302 | ---------- ^^^^^^^^^^ re-bound here
303 | |
304 | `Item` bound here first
305
1b1a35ee
XL
306error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
307 --> $DIR/duplicate.rs:94:35
dc9dc135
XL
308 |
309LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T;
310 | ---------- ^^^^^^^^^^ re-bound here
311 | |
312 | `Item` bound here first
313
1b1a35ee
XL
314error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
315 --> $DIR/duplicate.rs:96:38
dc9dc135
XL
316 |
317LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T;
318 | ------------- ^^^^^^^^^^^^^ re-bound here
319 | |
320 | `Item` bound here first
321
1b1a35ee
XL
322error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
323 --> $DIR/duplicate.rs:98:44
dc9dc135
XL
324 |
325LL | type TAW1<T> where T: Iterator<Item: Copy, Item: Send> = T;
326 | ---------- ^^^^^^^^^^ re-bound here
327 | |
328 | `Item` bound here first
329
1b1a35ee
XL
330error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
331 --> $DIR/duplicate.rs:100:44
dc9dc135
XL
332 |
333LL | type TAW2<T> where T: Iterator<Item: Copy, Item: Copy> = T;
334 | ---------- ^^^^^^^^^^ re-bound here
335 | |
336 | `Item` bound here first
337
1b1a35ee
XL
338error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
339 --> $DIR/duplicate.rs:102:47
dc9dc135
XL
340 |
341LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
342 | ------------- ^^^^^^^^^^^^^ re-bound here
343 | |
344 | `Item` bound here first
345
1b1a35ee
XL
346error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
347 --> $DIR/duplicate.rs:105:36
dc9dc135 348 |
416331ca
XL
349LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
350 | ---------- ^^^^^^^^^^ re-bound here
351 | |
352 | `Item` bound here first
dc9dc135 353
1b1a35ee
XL
354error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
355 --> $DIR/duplicate.rs:107:36
dc9dc135 356 |
416331ca
XL
357LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
358 | ---------- ^^^^^^^^^^ re-bound here
359 | |
360 | `Item` bound here first
dc9dc135 361
1b1a35ee
XL
362error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
363 --> $DIR/duplicate.rs:109:39
dc9dc135 364 |
416331ca
XL
365LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
366 | ------------- ^^^^^^^^^^^^^ re-bound here
367 | |
368 | `Item` bound here first
dc9dc135 369
1b1a35ee
XL
370error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
371 --> $DIR/duplicate.rs:111:40
dc9dc135 372 |
416331ca
XL
373LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
374 | ---------- ^^^^^^^^^^ re-bound here
375 | |
376 | `Item` bound here first
dc9dc135 377
1b1a35ee
XL
378error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
379 --> $DIR/duplicate.rs:113:40
dc9dc135 380 |
416331ca
XL
381LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
382 | ---------- ^^^^^^^^^^ re-bound here
383 | |
384 | `Item` bound here first
dc9dc135 385
1b1a35ee
XL
386error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
387 --> $DIR/duplicate.rs:115:43
dc9dc135 388 |
416331ca
XL
389LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
390 | ------------- ^^^^^^^^^^^^^ re-bound here
391 | |
392 | `Item` bound here first
dc9dc135 393
1b1a35ee
XL
394error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
395 --> $DIR/duplicate.rs:118:36
dc9dc135
XL
396 |
397LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {}
398 | ---------- ^^^^^^^^^^ re-bound here
399 | |
400 | `Item` bound here first
401
1b1a35ee
XL
402error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
403 --> $DIR/duplicate.rs:120:36
dc9dc135
XL
404 |
405LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {}
406 | ---------- ^^^^^^^^^^ re-bound here
407 | |
408 | `Item` bound here first
409
1b1a35ee
XL
410error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
411 --> $DIR/duplicate.rs:122:39
dc9dc135
XL
412 |
413LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {}
414 | ------------- ^^^^^^^^^^^^^ re-bound here
415 | |
416 | `Item` bound here first
417
1b1a35ee
XL
418error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
419 --> $DIR/duplicate.rs:124:34
dc9dc135
XL
420 |
421LL | trait TRS1: Iterator<Item: Copy, Item: Send> {}
422 | ---------- ^^^^^^^^^^ re-bound here
423 | |
424 | `Item` bound here first
425
1b1a35ee
XL
426error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
427 --> $DIR/duplicate.rs:126:34
dc9dc135
XL
428 |
429LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {}
430 | ---------- ^^^^^^^^^^ re-bound here
431 | |
432 | `Item` bound here first
433
1b1a35ee
XL
434error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
435 --> $DIR/duplicate.rs:128:37
dc9dc135
XL
436 |
437LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {}
438 | ------------- ^^^^^^^^^^^^^ re-bound here
439 | |
440 | `Item` bound here first
441
1b1a35ee
XL
442error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
443 --> $DIR/duplicate.rs:130:45
dc9dc135
XL
444 |
445LL | trait TRW1<T> where T: Iterator<Item: Copy, Item: Send> {}
446 | ---------- ^^^^^^^^^^ re-bound here
447 | |
448 | `Item` bound here first
449
1b1a35ee
XL
450error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
451 --> $DIR/duplicate.rs:132:45
dc9dc135
XL
452 |
453LL | trait TRW2<T> where T: Iterator<Item: Copy, Item: Copy> {}
454 | ---------- ^^^^^^^^^^ re-bound here
455 | |
456 | `Item` bound here first
457
1b1a35ee
XL
458error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
459 --> $DIR/duplicate.rs:134:48
dc9dc135
XL
460 |
461LL | trait TRW3<T> where T: Iterator<Item: 'static, Item: 'static> {}
462 | ------------- ^^^^^^^^^^^^^ re-bound here
463 | |
464 | `Item` bound here first
465
1b1a35ee
XL
466error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
467 --> $DIR/duplicate.rs:136:46
dc9dc135
XL
468 |
469LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
470 | ---------- ^^^^^^^^^^ re-bound here
471 | |
472 | `Item` bound here first
473
1b1a35ee
XL
474error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
475 --> $DIR/duplicate.rs:136:46
dfeec247
XL
476 |
477LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
478 | ---------- ^^^^^^^^^^ re-bound here
479 | |
480 | `Item` bound here first
481
1b1a35ee
XL
482error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
483 --> $DIR/duplicate.rs:139:46
dc9dc135
XL
484 |
485LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
486 | ---------- ^^^^^^^^^^ re-bound here
487 | |
488 | `Item` bound here first
489
1b1a35ee
XL
490error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
491 --> $DIR/duplicate.rs:139:46
dfeec247
XL
492 |
493LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
494 | ---------- ^^^^^^^^^^ re-bound here
495 | |
496 | `Item` bound here first
497
1b1a35ee
XL
498error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
499 --> $DIR/duplicate.rs:142:49
dfeec247
XL
500 |
501LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
502 | ------------- ^^^^^^^^^^^^^ re-bound here
503 | |
504 | `Item` bound here first
505
1b1a35ee
XL
506error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
507 --> $DIR/duplicate.rs:142:49
dc9dc135
XL
508 |
509LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
510 | ------------- ^^^^^^^^^^^^^ re-bound here
511 | |
512 | `Item` bound here first
513
1b1a35ee
XL
514error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
515 --> $DIR/duplicate.rs:145:43
dc9dc135
XL
516 |
517LL | trait TRA1 { type A: Iterator<Item: Copy, Item: Send>; }
518 | ---------- ^^^^^^^^^^ re-bound here
519 | |
520 | `Item` bound here first
521
1b1a35ee
XL
522error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
523 --> $DIR/duplicate.rs:147:43
dc9dc135
XL
524 |
525LL | trait TRA2 { type A: Iterator<Item: Copy, Item: Copy>; }
526 | ---------- ^^^^^^^^^^ re-bound here
527 | |
528 | `Item` bound here first
529
1b1a35ee
XL
530error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
531 --> $DIR/duplicate.rs:149:46
dc9dc135
XL
532 |
533LL | trait TRA3 { type A: Iterator<Item: 'static, Item: 'static>; }
534 | ------------- ^^^^^^^^^^^^^ re-bound here
535 | |
536 | `Item` bound here first
537
1b1a35ee
XL
538error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
539 --> $DIR/duplicate.rs:152:40
dc9dc135
XL
540 |
541LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
542 | ---------- ^^^^^^^^^^ re-bound here
543 | |
544 | `Item` bound here first
545
1b1a35ee
XL
546error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
547 --> $DIR/duplicate.rs:154:44
dc9dc135
XL
548 |
549LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
550 | ---------- ^^^^^^^^^^ re-bound here
551 | |
552 | `Item` bound here first
553
1b1a35ee
XL
554error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
555 --> $DIR/duplicate.rs:156:43
dc9dc135
XL
556 |
557LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
558 | ------------- ^^^^^^^^^^^^^ re-bound here
559 | |
560 | `Item` bound here first
561
1b1a35ee 562error: aborting due to 69 previous errors; 1 warning emitted
dc9dc135 563
74b04a01 564For more information about this error, try `rustc --explain E0719`.