]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-type-bounds/duplicate.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / associated-type-bounds / duplicate.stderr
CommitLineData
dc9dc135 1warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
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
dc9dc135 8
dfeec247 9error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 10 --> $DIR/duplicate.rs:10:36
dc9dc135
XL
11 |
12LL | struct SI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
13 | ---------- ^^^^^^^^^^ re-bound here
14 | |
15 | `Item` bound here first
16
dfeec247 17error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 18 --> $DIR/duplicate.rs:12:36
dc9dc135
XL
19 |
20LL | struct SI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
21 | ---------- ^^^^^^^^^^ re-bound here
22 | |
23 | `Item` bound here first
24
dfeec247 25error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 26 --> $DIR/duplicate.rs:14:39
dc9dc135
XL
27 |
28LL | struct SI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
29 | ------------- ^^^^^^^^^^^^^ re-bound here
30 | |
31 | `Item` bound here first
32
dfeec247 33error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 34 --> $DIR/duplicate.rs:16:45
dc9dc135
XL
35 |
36LL | struct SW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
37 | ---------- ^^^^^^^^^^ re-bound here
38 | |
39 | `Item` bound here first
40
dfeec247 41error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 42 --> $DIR/duplicate.rs:18:45
dc9dc135
XL
43 |
44LL | struct SW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
45 | ---------- ^^^^^^^^^^ re-bound here
46 | |
47 | `Item` bound here first
48
dfeec247 49error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 50 --> $DIR/duplicate.rs:20:48
dc9dc135
XL
51 |
52LL | struct SW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
53 | ------------- ^^^^^^^^^^^^^ re-bound here
54 | |
55 | `Item` bound here first
56
dfeec247 57error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 58 --> $DIR/duplicate.rs:23:34
dc9dc135
XL
59 |
60LL | enum EI1<T: Iterator<Item: Copy, Item: Send>> { V(T) }
61 | ---------- ^^^^^^^^^^ re-bound here
62 | |
63 | `Item` bound here first
64
dfeec247 65error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 66 --> $DIR/duplicate.rs:25:34
dc9dc135
XL
67 |
68LL | enum EI2<T: Iterator<Item: Copy, Item: Copy>> { V(T) }
69 | ---------- ^^^^^^^^^^ re-bound here
70 | |
71 | `Item` bound here first
72
dfeec247 73error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 74 --> $DIR/duplicate.rs:27:37
dc9dc135
XL
75 |
76LL | enum EI3<T: Iterator<Item: 'static, Item: 'static>> { V(T) }
77 | ------------- ^^^^^^^^^^^^^ re-bound here
78 | |
79 | `Item` bound here first
80
dfeec247 81error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 82 --> $DIR/duplicate.rs:29:43
dc9dc135
XL
83 |
84LL | enum EW1<T> where T: Iterator<Item: Copy, Item: Send> { V(T) }
85 | ---------- ^^^^^^^^^^ re-bound here
86 | |
87 | `Item` bound here first
88
dfeec247 89error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 90 --> $DIR/duplicate.rs:31:43
dc9dc135
XL
91 |
92LL | enum EW2<T> where T: Iterator<Item: Copy, Item: Copy> { V(T) }
93 | ---------- ^^^^^^^^^^ re-bound here
94 | |
95 | `Item` bound here first
96
dfeec247 97error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 98 --> $DIR/duplicate.rs:33:46
dc9dc135
XL
99 |
100LL | enum EW3<T> where T: Iterator<Item: 'static, Item: 'static> { V(T) }
101 | ------------- ^^^^^^^^^^^^^ re-bound here
102 | |
103 | `Item` bound here first
104
dfeec247 105error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 106 --> $DIR/duplicate.rs:36:35
dc9dc135
XL
107 |
108LL | union UI1<T: Iterator<Item: Copy, Item: Send>> { f: T }
109 | ---------- ^^^^^^^^^^ re-bound here
110 | |
111 | `Item` bound here first
112
dfeec247 113error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 114 --> $DIR/duplicate.rs:38:35
dc9dc135
XL
115 |
116LL | union UI2<T: Iterator<Item: Copy, Item: Copy>> { f: T }
117 | ---------- ^^^^^^^^^^ re-bound here
118 | |
119 | `Item` bound here first
120
dfeec247 121error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 122 --> $DIR/duplicate.rs:40:38
dc9dc135
XL
123 |
124LL | union UI3<T: Iterator<Item: 'static, Item: 'static>> { f: T }
125 | ------------- ^^^^^^^^^^^^^ re-bound here
126 | |
127 | `Item` bound here first
128
dfeec247 129error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 130 --> $DIR/duplicate.rs:42:44
dc9dc135
XL
131 |
132LL | union UW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T }
133 | ---------- ^^^^^^^^^^ re-bound here
134 | |
135 | `Item` bound here first
136
dfeec247 137error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 138 --> $DIR/duplicate.rs:44:44
dc9dc135
XL
139 |
140LL | union UW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T }
141 | ---------- ^^^^^^^^^^ re-bound here
142 | |
143 | `Item` bound here first
144
dfeec247 145error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 146 --> $DIR/duplicate.rs:46:47
dc9dc135
XL
147 |
148LL | union UW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T }
149 | ------------- ^^^^^^^^^^^^^ re-bound here
150 | |
151 | `Item` bound here first
152
dfeec247 153error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 154 --> $DIR/duplicate.rs:49:32
dc9dc135
XL
155 |
156LL | fn FI1<T: Iterator<Item: Copy, Item: Send>>() {}
157 | ---------- ^^^^^^^^^^ re-bound here
158 | |
159 | `Item` bound here first
160
dfeec247 161error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 162 --> $DIR/duplicate.rs:51:32
dc9dc135
XL
163 |
164LL | fn FI2<T: Iterator<Item: Copy, Item: Copy>>() {}
165 | ---------- ^^^^^^^^^^ re-bound here
166 | |
167 | `Item` bound here first
168
dfeec247 169error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 170 --> $DIR/duplicate.rs:53:35
dc9dc135
XL
171 |
172LL | fn FI3<T: Iterator<Item: 'static, Item: 'static>>() {}
173 | ------------- ^^^^^^^^^^^^^ re-bound here
174 | |
175 | `Item` bound here first
176
dfeec247 177error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 178 --> $DIR/duplicate.rs:55:43
dc9dc135
XL
179 |
180LL | fn FW1<T>() where T: Iterator<Item: Copy, Item: Send> {}
181 | ---------- ^^^^^^^^^^ re-bound here
182 | |
183 | `Item` bound here first
184
dfeec247 185error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 186 --> $DIR/duplicate.rs:57:43
dc9dc135
XL
187 |
188LL | fn FW2<T>() where T: Iterator<Item: Copy, Item: Copy> {}
189 | ---------- ^^^^^^^^^^ re-bound here
190 | |
191 | `Item` bound here first
192
dfeec247 193error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 194 --> $DIR/duplicate.rs:59:46
dc9dc135
XL
195 |
196LL | fn FW3<T>() where T: Iterator<Item: 'static, Item: 'static> {}
197 | ------------- ^^^^^^^^^^^^^ re-bound here
198 | |
199 | `Item` bound here first
200
dfeec247 201error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 202 --> $DIR/duplicate.rs:68:40
dc9dc135
XL
203 |
204LL | fn FAPIT1(_: impl Iterator<Item: Copy, Item: Send>) {}
205 | ---------- ^^^^^^^^^^ re-bound here
206 | |
207 | `Item` bound here first
208
dfeec247 209error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 210 --> $DIR/duplicate.rs:70:40
dc9dc135
XL
211 |
212LL | fn FAPIT2(_: impl Iterator<Item: Copy, Item: Copy>) {}
213 | ---------- ^^^^^^^^^^ re-bound here
214 | |
215 | `Item` bound here first
216
dfeec247 217error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 218 --> $DIR/duplicate.rs:72:43
dc9dc135
XL
219 |
220LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {}
221 | ------------- ^^^^^^^^^^^^^ re-bound here
222 | |
223 | `Item` bound here first
224
dfeec247 225error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 226 --> $DIR/duplicate.rs:62:42
dc9dc135
XL
227 |
228LL | fn FRPIT1() -> impl Iterator<Item: Copy, Item: Send> { iter::empty() }
229 | ---------- ^^^^^^^^^^ re-bound here
230 | |
231 | `Item` bound here first
232
dfeec247 233error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 234 --> $DIR/duplicate.rs:64:42
dc9dc135
XL
235 |
236LL | fn FRPIT2() -> impl Iterator<Item: Copy, Item: Copy> { iter::empty() }
237 | ---------- ^^^^^^^^^^ re-bound here
238 | |
239 | `Item` bound here first
240
dfeec247 241error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 242 --> $DIR/duplicate.rs:66:45
dc9dc135
XL
243 |
244LL | fn FRPIT3() -> impl Iterator<Item: 'static, Item: 'static> { iter::empty() }
245 | ------------- ^^^^^^^^^^^^^ re-bound here
246 | |
247 | `Item` bound here first
248
dfeec247 249error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 250 --> $DIR/duplicate.rs:75:39
dc9dc135
XL
251 |
252LL | const CIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
253 | ---------- ^^^^^^^^^^ re-bound here
254 | |
255 | `Item` bound here first
256
dfeec247 257error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 258 --> $DIR/duplicate.rs:77:39
dc9dc135
XL
259 |
260LL | const CIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
261 | ---------- ^^^^^^^^^^ re-bound here
262 | |
263 | `Item` bound here first
264
dfeec247 265error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 266 --> $DIR/duplicate.rs:79:42
dc9dc135
XL
267 |
268LL | const CIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
269 | ------------- ^^^^^^^^^^^^^ re-bound here
270 | |
271 | `Item` bound here first
272
dfeec247 273error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 274 --> $DIR/duplicate.rs:81:40
dc9dc135
XL
275 |
276LL | static SIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty();
277 | ---------- ^^^^^^^^^^ re-bound here
278 | |
279 | `Item` bound here first
280
dfeec247 281error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 282 --> $DIR/duplicate.rs:83:40
dc9dc135
XL
283 |
284LL | static SIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty();
285 | ---------- ^^^^^^^^^^ re-bound here
286 | |
287 | `Item` bound here first
288
dfeec247 289error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 290 --> $DIR/duplicate.rs:85:43
dc9dc135
XL
291 |
292LL | static SIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty();
293 | ------------- ^^^^^^^^^^^^^ re-bound here
294 | |
295 | `Item` bound here first
296
dfeec247 297error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 298 --> $DIR/duplicate.rs:88:46
dc9dc135
XL
299 |
300LL | fn lit1() { let _: impl Iterator<Item: Copy, Item: Send> = iter::empty(); }
301 | ---------- ^^^^^^^^^^ re-bound here
302 | |
303 | `Item` bound here first
304
dfeec247 305error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 306 --> $DIR/duplicate.rs:90:46
dc9dc135
XL
307 |
308LL | fn lit2() { let _: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); }
309 | ---------- ^^^^^^^^^^ re-bound here
310 | |
311 | `Item` bound here first
312
dfeec247 313error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 314 --> $DIR/duplicate.rs:92:49
dc9dc135
XL
315 |
316LL | fn lit3() { let _: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); }
317 | ------------- ^^^^^^^^^^^^^ re-bound here
318 | |
319 | `Item` bound here first
320
dfeec247 321error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 322 --> $DIR/duplicate.rs:95:35
dc9dc135
XL
323 |
324LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T;
325 | ---------- ^^^^^^^^^^ re-bound here
326 | |
327 | `Item` bound here first
328
dfeec247 329error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 330 --> $DIR/duplicate.rs:97:35
dc9dc135
XL
331 |
332LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T;
333 | ---------- ^^^^^^^^^^ re-bound here
334 | |
335 | `Item` bound here first
336
dfeec247 337error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 338 --> $DIR/duplicate.rs:99:38
dc9dc135
XL
339 |
340LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T;
341 | ------------- ^^^^^^^^^^^^^ re-bound here
342 | |
343 | `Item` bound here first
344
dfeec247 345error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 346 --> $DIR/duplicate.rs:101:44
dc9dc135
XL
347 |
348LL | type TAW1<T> where T: Iterator<Item: Copy, Item: Send> = T;
349 | ---------- ^^^^^^^^^^ re-bound here
350 | |
351 | `Item` bound here first
352
dfeec247 353error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 354 --> $DIR/duplicate.rs:103:44
dc9dc135
XL
355 |
356LL | type TAW2<T> where T: Iterator<Item: Copy, Item: Copy> = T;
357 | ---------- ^^^^^^^^^^ re-bound here
358 | |
359 | `Item` bound here first
360
dfeec247 361error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 362 --> $DIR/duplicate.rs:105:47
dc9dc135
XL
363 |
364LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T;
365 | ------------- ^^^^^^^^^^^^^ re-bound here
366 | |
367 | `Item` bound here first
368
369error: could not find defining uses
74b04a01 370 --> $DIR/duplicate.rs:108:1
dc9dc135 371 |
416331ca
XL
372LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
373 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 374
dfeec247 375error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 376 --> $DIR/duplicate.rs:108:36
dc9dc135 377 |
416331ca
XL
378LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
379 | ---------- ^^^^^^^^^^ re-bound here
380 | |
381 | `Item` bound here first
dc9dc135
XL
382
383error: could not find defining uses
74b04a01 384 --> $DIR/duplicate.rs:113:1
dc9dc135 385 |
416331ca
XL
386LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
387 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 388
dfeec247 389error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 390 --> $DIR/duplicate.rs:113:36
dc9dc135 391 |
416331ca
XL
392LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
393 | ---------- ^^^^^^^^^^ re-bound here
394 | |
395 | `Item` bound here first
dc9dc135
XL
396
397error: could not find defining uses
74b04a01 398 --> $DIR/duplicate.rs:118:1
dc9dc135 399 |
416331ca
XL
400LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
401 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 402
dfeec247 403error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 404 --> $DIR/duplicate.rs:118:39
dc9dc135 405 |
416331ca
XL
406LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
407 | ------------- ^^^^^^^^^^^^^ re-bound here
408 | |
409 | `Item` bound here first
dc9dc135
XL
410
411error: could not find defining uses
74b04a01 412 --> $DIR/duplicate.rs:123:1
dc9dc135 413 |
416331ca
XL
414LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
415 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 416
dfeec247 417error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 418 --> $DIR/duplicate.rs:123:40
dc9dc135 419 |
416331ca
XL
420LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
421 | ---------- ^^^^^^^^^^ re-bound here
422 | |
423 | `Item` bound here first
dc9dc135
XL
424
425error: could not find defining uses
74b04a01 426 --> $DIR/duplicate.rs:128:1
dc9dc135 427 |
416331ca
XL
428LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
429 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 430
dfeec247 431error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 432 --> $DIR/duplicate.rs:128:40
dc9dc135 433 |
416331ca
XL
434LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
435 | ---------- ^^^^^^^^^^ re-bound here
436 | |
437 | `Item` bound here first
dc9dc135
XL
438
439error: could not find defining uses
74b04a01 440 --> $DIR/duplicate.rs:133:1
dc9dc135 441 |
416331ca
XL
442LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
443 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dc9dc135 444
dfeec247 445error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 446 --> $DIR/duplicate.rs:133:43
dc9dc135 447 |
416331ca
XL
448LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
449 | ------------- ^^^^^^^^^^^^^ re-bound here
450 | |
451 | `Item` bound here first
dc9dc135 452
dfeec247 453error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 454 --> $DIR/duplicate.rs:139:36
dc9dc135
XL
455 |
456LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {}
457 | ---------- ^^^^^^^^^^ re-bound here
458 | |
459 | `Item` bound here first
460
dfeec247 461error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 462 --> $DIR/duplicate.rs:141:36
dc9dc135
XL
463 |
464LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {}
465 | ---------- ^^^^^^^^^^ re-bound here
466 | |
467 | `Item` bound here first
468
dfeec247 469error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 470 --> $DIR/duplicate.rs:143:39
dc9dc135
XL
471 |
472LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {}
473 | ------------- ^^^^^^^^^^^^^ re-bound here
474 | |
475 | `Item` bound here first
476
dfeec247 477error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 478 --> $DIR/duplicate.rs:145:34
dc9dc135
XL
479 |
480LL | trait TRS1: Iterator<Item: Copy, Item: Send> {}
481 | ---------- ^^^^^^^^^^ re-bound here
482 | |
483 | `Item` bound here first
484
dfeec247 485error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 486 --> $DIR/duplicate.rs:147:34
dc9dc135
XL
487 |
488LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {}
489 | ---------- ^^^^^^^^^^ re-bound here
490 | |
491 | `Item` bound here first
492
dfeec247 493error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 494 --> $DIR/duplicate.rs:149:37
dc9dc135
XL
495 |
496LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {}
497 | ------------- ^^^^^^^^^^^^^ re-bound here
498 | |
499 | `Item` bound here first
500
dfeec247 501error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 502 --> $DIR/duplicate.rs:151:45
dc9dc135
XL
503 |
504LL | trait TRW1<T> where T: Iterator<Item: Copy, Item: Send> {}
505 | ---------- ^^^^^^^^^^ re-bound here
506 | |
507 | `Item` bound here first
508
dfeec247 509error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 510 --> $DIR/duplicate.rs:153:45
dc9dc135
XL
511 |
512LL | trait TRW2<T> where T: Iterator<Item: Copy, Item: Copy> {}
513 | ---------- ^^^^^^^^^^ re-bound here
514 | |
515 | `Item` bound here first
516
dfeec247 517error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 518 --> $DIR/duplicate.rs:155:48
dc9dc135
XL
519 |
520LL | trait TRW3<T> where T: Iterator<Item: 'static, Item: 'static> {}
521 | ------------- ^^^^^^^^^^^^^ re-bound here
522 | |
523 | `Item` bound here first
524
dfeec247 525error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 526 --> $DIR/duplicate.rs:157:46
dc9dc135
XL
527 |
528LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
529 | ---------- ^^^^^^^^^^ re-bound here
530 | |
531 | `Item` bound here first
532
dfeec247 533error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 534 --> $DIR/duplicate.rs:157:46
dfeec247
XL
535 |
536LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {}
537 | ---------- ^^^^^^^^^^ re-bound here
538 | |
539 | `Item` bound here first
540
541error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 542 --> $DIR/duplicate.rs:160:46
dc9dc135
XL
543 |
544LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
545 | ---------- ^^^^^^^^^^ re-bound here
546 | |
547 | `Item` bound here first
548
dfeec247 549error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 550 --> $DIR/duplicate.rs:160:46
dfeec247
XL
551 |
552LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {}
553 | ---------- ^^^^^^^^^^ re-bound here
554 | |
555 | `Item` bound here first
556
557error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 558 --> $DIR/duplicate.rs:163:49
dfeec247
XL
559 |
560LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
561 | ------------- ^^^^^^^^^^^^^ re-bound here
562 | |
563 | `Item` bound here first
564
565error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 566 --> $DIR/duplicate.rs:163:49
dc9dc135
XL
567 |
568LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {}
569 | ------------- ^^^^^^^^^^^^^ re-bound here
570 | |
571 | `Item` bound here first
572
dfeec247 573error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 574 --> $DIR/duplicate.rs:166:43
dc9dc135
XL
575 |
576LL | trait TRA1 { type A: Iterator<Item: Copy, Item: Send>; }
577 | ---------- ^^^^^^^^^^ re-bound here
578 | |
579 | `Item` bound here first
580
dfeec247 581error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 582 --> $DIR/duplicate.rs:168:43
dc9dc135
XL
583 |
584LL | trait TRA2 { type A: Iterator<Item: Copy, Item: Copy>; }
585 | ---------- ^^^^^^^^^^ re-bound here
586 | |
587 | `Item` bound here first
588
dfeec247 589error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 590 --> $DIR/duplicate.rs:170:46
dc9dc135
XL
591 |
592LL | trait TRA3 { type A: Iterator<Item: 'static, Item: 'static>; }
593 | ------------- ^^^^^^^^^^^^^ re-bound here
594 | |
595 | `Item` bound here first
596
dfeec247 597error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 598 --> $DIR/duplicate.rs:173:40
dc9dc135
XL
599 |
600LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
601 | ---------- ^^^^^^^^^^ re-bound here
602 | |
603 | `Item` bound here first
604
dfeec247 605error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 606 --> $DIR/duplicate.rs:177:44
dc9dc135
XL
607 |
608LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
609 | ---------- ^^^^^^^^^^ re-bound here
610 | |
611 | `Item` bound here first
612
dfeec247 613error[E0719]: the value of the associated type `Item` (from trait `std::iter::Iterator`) is already specified
74b04a01 614 --> $DIR/duplicate.rs:181:43
dc9dc135
XL
615 |
616LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
617 | ------------- ^^^^^^^^^^^^^ re-bound here
618 | |
619 | `Item` bound here first
620
621error: could not find defining uses
74b04a01 622 --> $DIR/duplicate.rs:108:24
e1599b0c
XL
623 |
624LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
625 | ^^^^^^^^^^
dc9dc135
XL
626
627error: could not find defining uses
74b04a01 628 --> $DIR/duplicate.rs:108:36
e1599b0c
XL
629 |
630LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy;
631 | ^^^^^^^^^^
dc9dc135
XL
632
633error: could not find defining uses
74b04a01 634 --> $DIR/duplicate.rs:113:24
e1599b0c
XL
635 |
636LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
637 | ^^^^^^^^^^
dc9dc135
XL
638
639error: could not find defining uses
74b04a01 640 --> $DIR/duplicate.rs:113:36
e1599b0c
XL
641 |
642LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy;
643 | ^^^^^^^^^^
dc9dc135
XL
644
645error: could not find defining uses
74b04a01 646 --> $DIR/duplicate.rs:118:24
e1599b0c
XL
647 |
648LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
649 | ^^^^^^^^^^^^^
dc9dc135
XL
650
651error: could not find defining uses
74b04a01 652 --> $DIR/duplicate.rs:118:39
e1599b0c
XL
653 |
654LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy;
655 | ^^^^^^^^^^^^^
dc9dc135
XL
656
657error: could not find defining uses
74b04a01 658 --> $DIR/duplicate.rs:123:28
e1599b0c
XL
659 |
660LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
661 | ^^^^^^^^^^
dc9dc135
XL
662
663error: could not find defining uses
74b04a01 664 --> $DIR/duplicate.rs:123:40
e1599b0c
XL
665 |
666LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>;
667 | ^^^^^^^^^^
dc9dc135
XL
668
669error: could not find defining uses
74b04a01 670 --> $DIR/duplicate.rs:128:28
e1599b0c
XL
671 |
672LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
673 | ^^^^^^^^^^
dc9dc135
XL
674
675error: could not find defining uses
74b04a01 676 --> $DIR/duplicate.rs:128:40
e1599b0c
XL
677 |
678LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>;
679 | ^^^^^^^^^^
dc9dc135
XL
680
681error: could not find defining uses
74b04a01 682 --> $DIR/duplicate.rs:133:28
e1599b0c
XL
683 |
684LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
685 | ^^^^^^^^^^^^^
dc9dc135
XL
686
687error: could not find defining uses
74b04a01 688 --> $DIR/duplicate.rs:133:43
e1599b0c
XL
689 |
690LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>;
691 | ^^^^^^^^^^^^^
dc9dc135
XL
692
693error: could not find defining uses
74b04a01 694 --> $DIR/duplicate.rs:173:28
e1599b0c
XL
695 |
696LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
697 | ^^^^^^^^^^
dc9dc135
XL
698
699error: could not find defining uses
74b04a01 700 --> $DIR/duplicate.rs:173:40
e1599b0c
XL
701 |
702LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>;
703 | ^^^^^^^^^^
dc9dc135
XL
704
705error: could not find defining uses
74b04a01 706 --> $DIR/duplicate.rs:177:32
e1599b0c
XL
707 |
708LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
709 | ^^^^^^^^^^
dc9dc135
XL
710
711error: could not find defining uses
74b04a01 712 --> $DIR/duplicate.rs:177:44
e1599b0c
XL
713 |
714LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>;
715 | ^^^^^^^^^^
dc9dc135
XL
716
717error: could not find defining uses
74b04a01 718 --> $DIR/duplicate.rs:181:28
e1599b0c
XL
719 |
720LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
721 | ^^^^^^^^^^^^^
dc9dc135
XL
722
723error: could not find defining uses
74b04a01 724 --> $DIR/duplicate.rs:181:43
e1599b0c
XL
725 |
726LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>;
727 | ^^^^^^^^^^^^^
dc9dc135 728
ba9703b0 729error: aborting due to 96 previous errors; 1 warning emitted
dc9dc135 730
74b04a01 731For more information about this error, try `rustc --explain E0719`.