]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | warning: 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 | | |
4 | LL | #![feature(impl_trait_in_bindings)] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
416331ca XL |
6 | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
dc9dc135 | 8 | |
dfeec247 | 9 | error[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 | | |
12 | LL | struct SI1<T: Iterator<Item: Copy, Item: Send>> { f: T } | |
13 | | ---------- ^^^^^^^^^^ re-bound here | |
14 | | | | |
15 | | `Item` bound here first | |
16 | ||
dfeec247 | 17 | error[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 | | |
20 | LL | struct SI2<T: Iterator<Item: Copy, Item: Copy>> { f: T } | |
21 | | ---------- ^^^^^^^^^^ re-bound here | |
22 | | | | |
23 | | `Item` bound here first | |
24 | ||
dfeec247 | 25 | error[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 | | |
28 | LL | struct SI3<T: Iterator<Item: 'static, Item: 'static>> { f: T } | |
29 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
30 | | | | |
31 | | `Item` bound here first | |
32 | ||
dfeec247 | 33 | error[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 | | |
36 | LL | struct SW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T } | |
37 | | ---------- ^^^^^^^^^^ re-bound here | |
38 | | | | |
39 | | `Item` bound here first | |
40 | ||
dfeec247 | 41 | error[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 | | |
44 | LL | struct SW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T } | |
45 | | ---------- ^^^^^^^^^^ re-bound here | |
46 | | | | |
47 | | `Item` bound here first | |
48 | ||
dfeec247 | 49 | error[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 | | |
52 | LL | struct SW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T } | |
53 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
54 | | | | |
55 | | `Item` bound here first | |
56 | ||
dfeec247 | 57 | error[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 | | |
60 | LL | enum EI1<T: Iterator<Item: Copy, Item: Send>> { V(T) } | |
61 | | ---------- ^^^^^^^^^^ re-bound here | |
62 | | | | |
63 | | `Item` bound here first | |
64 | ||
dfeec247 | 65 | error[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 | | |
68 | LL | enum EI2<T: Iterator<Item: Copy, Item: Copy>> { V(T) } | |
69 | | ---------- ^^^^^^^^^^ re-bound here | |
70 | | | | |
71 | | `Item` bound here first | |
72 | ||
dfeec247 | 73 | error[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 | | |
76 | LL | enum EI3<T: Iterator<Item: 'static, Item: 'static>> { V(T) } | |
77 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
78 | | | | |
79 | | `Item` bound here first | |
80 | ||
dfeec247 | 81 | error[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 | | |
84 | LL | enum EW1<T> where T: Iterator<Item: Copy, Item: Send> { V(T) } | |
85 | | ---------- ^^^^^^^^^^ re-bound here | |
86 | | | | |
87 | | `Item` bound here first | |
88 | ||
dfeec247 | 89 | error[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 | | |
92 | LL | enum EW2<T> where T: Iterator<Item: Copy, Item: Copy> { V(T) } | |
93 | | ---------- ^^^^^^^^^^ re-bound here | |
94 | | | | |
95 | | `Item` bound here first | |
96 | ||
dfeec247 | 97 | error[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 | | |
100 | LL | enum EW3<T> where T: Iterator<Item: 'static, Item: 'static> { V(T) } | |
101 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
102 | | | | |
103 | | `Item` bound here first | |
104 | ||
dfeec247 | 105 | error[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 | | |
108 | LL | union UI1<T: Iterator<Item: Copy, Item: Send>> { f: T } | |
109 | | ---------- ^^^^^^^^^^ re-bound here | |
110 | | | | |
111 | | `Item` bound here first | |
112 | ||
dfeec247 | 113 | error[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 | | |
116 | LL | union UI2<T: Iterator<Item: Copy, Item: Copy>> { f: T } | |
117 | | ---------- ^^^^^^^^^^ re-bound here | |
118 | | | | |
119 | | `Item` bound here first | |
120 | ||
dfeec247 | 121 | error[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 | | |
124 | LL | union UI3<T: Iterator<Item: 'static, Item: 'static>> { f: T } | |
125 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
126 | | | | |
127 | | `Item` bound here first | |
128 | ||
dfeec247 | 129 | error[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 | | |
132 | LL | union UW1<T> where T: Iterator<Item: Copy, Item: Send> { f: T } | |
133 | | ---------- ^^^^^^^^^^ re-bound here | |
134 | | | | |
135 | | `Item` bound here first | |
136 | ||
dfeec247 | 137 | error[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 | | |
140 | LL | union UW2<T> where T: Iterator<Item: Copy, Item: Copy> { f: T } | |
141 | | ---------- ^^^^^^^^^^ re-bound here | |
142 | | | | |
143 | | `Item` bound here first | |
144 | ||
dfeec247 | 145 | error[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 | | |
148 | LL | union UW3<T> where T: Iterator<Item: 'static, Item: 'static> { f: T } | |
149 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
150 | | | | |
151 | | `Item` bound here first | |
152 | ||
dfeec247 | 153 | error[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 | | |
156 | LL | fn FI1<T: Iterator<Item: Copy, Item: Send>>() {} | |
157 | | ---------- ^^^^^^^^^^ re-bound here | |
158 | | | | |
159 | | `Item` bound here first | |
160 | ||
dfeec247 | 161 | error[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 | | |
164 | LL | fn FI2<T: Iterator<Item: Copy, Item: Copy>>() {} | |
165 | | ---------- ^^^^^^^^^^ re-bound here | |
166 | | | | |
167 | | `Item` bound here first | |
168 | ||
dfeec247 | 169 | error[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 | | |
172 | LL | fn FI3<T: Iterator<Item: 'static, Item: 'static>>() {} | |
173 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
174 | | | | |
175 | | `Item` bound here first | |
176 | ||
dfeec247 | 177 | error[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 | | |
180 | LL | fn FW1<T>() where T: Iterator<Item: Copy, Item: Send> {} | |
181 | | ---------- ^^^^^^^^^^ re-bound here | |
182 | | | | |
183 | | `Item` bound here first | |
184 | ||
dfeec247 | 185 | error[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 | | |
188 | LL | fn FW2<T>() where T: Iterator<Item: Copy, Item: Copy> {} | |
189 | | ---------- ^^^^^^^^^^ re-bound here | |
190 | | | | |
191 | | `Item` bound here first | |
192 | ||
dfeec247 | 193 | error[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 | | |
196 | LL | fn FW3<T>() where T: Iterator<Item: 'static, Item: 'static> {} | |
197 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
198 | | | | |
199 | | `Item` bound here first | |
200 | ||
dfeec247 | 201 | error[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 | | |
204 | LL | fn FAPIT1(_: impl Iterator<Item: Copy, Item: Send>) {} | |
205 | | ---------- ^^^^^^^^^^ re-bound here | |
206 | | | | |
207 | | `Item` bound here first | |
208 | ||
dfeec247 | 209 | error[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 | | |
212 | LL | fn FAPIT2(_: impl Iterator<Item: Copy, Item: Copy>) {} | |
213 | | ---------- ^^^^^^^^^^ re-bound here | |
214 | | | | |
215 | | `Item` bound here first | |
216 | ||
dfeec247 | 217 | error[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 | | |
220 | LL | fn FAPIT3(_: impl Iterator<Item: 'static, Item: 'static>) {} | |
221 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
222 | | | | |
223 | | `Item` bound here first | |
224 | ||
dfeec247 | 225 | error[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 | | |
228 | LL | fn FRPIT1() -> impl Iterator<Item: Copy, Item: Send> { iter::empty() } | |
229 | | ---------- ^^^^^^^^^^ re-bound here | |
230 | | | | |
231 | | `Item` bound here first | |
232 | ||
dfeec247 | 233 | error[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 | | |
236 | LL | fn FRPIT2() -> impl Iterator<Item: Copy, Item: Copy> { iter::empty() } | |
237 | | ---------- ^^^^^^^^^^ re-bound here | |
238 | | | | |
239 | | `Item` bound here first | |
240 | ||
dfeec247 | 241 | error[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 | | |
244 | LL | fn FRPIT3() -> impl Iterator<Item: 'static, Item: 'static> { iter::empty() } | |
245 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
246 | | | | |
247 | | `Item` bound here first | |
248 | ||
dfeec247 | 249 | error[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 | | |
252 | LL | const CIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty(); | |
253 | | ---------- ^^^^^^^^^^ re-bound here | |
254 | | | | |
255 | | `Item` bound here first | |
256 | ||
dfeec247 | 257 | error[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 | | |
260 | LL | const CIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); | |
261 | | ---------- ^^^^^^^^^^ re-bound here | |
262 | | | | |
263 | | `Item` bound here first | |
264 | ||
dfeec247 | 265 | error[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 | | |
268 | LL | const CIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); | |
269 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
270 | | | | |
271 | | `Item` bound here first | |
272 | ||
dfeec247 | 273 | error[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 | | |
276 | LL | static SIT1: impl Iterator<Item: Copy, Item: Send> = iter::empty(); | |
277 | | ---------- ^^^^^^^^^^ re-bound here | |
278 | | | | |
279 | | `Item` bound here first | |
280 | ||
dfeec247 | 281 | error[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 | | |
284 | LL | static SIT2: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); | |
285 | | ---------- ^^^^^^^^^^ re-bound here | |
286 | | | | |
287 | | `Item` bound here first | |
288 | ||
dfeec247 | 289 | error[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 | | |
292 | LL | static SIT3: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); | |
293 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
294 | | | | |
295 | | `Item` bound here first | |
296 | ||
dfeec247 | 297 | error[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 | | |
300 | LL | fn lit1() { let _: impl Iterator<Item: Copy, Item: Send> = iter::empty(); } | |
301 | | ---------- ^^^^^^^^^^ re-bound here | |
302 | | | | |
303 | | `Item` bound here first | |
304 | ||
dfeec247 | 305 | error[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 | | |
308 | LL | fn lit2() { let _: impl Iterator<Item: Copy, Item: Copy> = iter::empty(); } | |
309 | | ---------- ^^^^^^^^^^ re-bound here | |
310 | | | | |
311 | | `Item` bound here first | |
312 | ||
dfeec247 | 313 | error[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 | | |
316 | LL | fn lit3() { let _: impl Iterator<Item: 'static, Item: 'static> = iter::empty(); } | |
317 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
318 | | | | |
319 | | `Item` bound here first | |
320 | ||
dfeec247 | 321 | error[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 | | |
324 | LL | type TAI1<T: Iterator<Item: Copy, Item: Send>> = T; | |
325 | | ---------- ^^^^^^^^^^ re-bound here | |
326 | | | | |
327 | | `Item` bound here first | |
328 | ||
dfeec247 | 329 | error[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 | | |
332 | LL | type TAI2<T: Iterator<Item: Copy, Item: Copy>> = T; | |
333 | | ---------- ^^^^^^^^^^ re-bound here | |
334 | | | | |
335 | | `Item` bound here first | |
336 | ||
dfeec247 | 337 | error[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 | | |
340 | LL | type TAI3<T: Iterator<Item: 'static, Item: 'static>> = T; | |
341 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
342 | | | | |
343 | | `Item` bound here first | |
344 | ||
dfeec247 | 345 | error[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 | | |
348 | LL | type TAW1<T> where T: Iterator<Item: Copy, Item: Send> = T; | |
349 | | ---------- ^^^^^^^^^^ re-bound here | |
350 | | | | |
351 | | `Item` bound here first | |
352 | ||
dfeec247 | 353 | error[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 | | |
356 | LL | type TAW2<T> where T: Iterator<Item: Copy, Item: Copy> = T; | |
357 | | ---------- ^^^^^^^^^^ re-bound here | |
358 | | | | |
359 | | `Item` bound here first | |
360 | ||
dfeec247 | 361 | error[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 | | |
364 | LL | type TAW3<T> where T: Iterator<Item: 'static, Item: 'static> = T; | |
365 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
366 | | | | |
367 | | `Item` bound here first | |
368 | ||
369 | error: could not find defining uses | |
74b04a01 | 370 | --> $DIR/duplicate.rs:108:1 |
dc9dc135 | 371 | | |
416331ca XL |
372 | LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy; |
373 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 374 | |
dfeec247 | 375 | error[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 |
378 | LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy; |
379 | | ---------- ^^^^^^^^^^ re-bound here | |
380 | | | | |
381 | | `Item` bound here first | |
dc9dc135 XL |
382 | |
383 | error: could not find defining uses | |
74b04a01 | 384 | --> $DIR/duplicate.rs:113:1 |
dc9dc135 | 385 | | |
416331ca XL |
386 | LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy; |
387 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 388 | |
dfeec247 | 389 | error[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 |
392 | LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy; |
393 | | ---------- ^^^^^^^^^^ re-bound here | |
394 | | | | |
395 | | `Item` bound here first | |
dc9dc135 XL |
396 | |
397 | error: could not find defining uses | |
74b04a01 | 398 | --> $DIR/duplicate.rs:118:1 |
dc9dc135 | 399 | | |
416331ca XL |
400 | LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy; |
401 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 402 | |
dfeec247 | 403 | error[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 |
406 | LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy; |
407 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
408 | | | | |
409 | | `Item` bound here first | |
dc9dc135 XL |
410 | |
411 | error: could not find defining uses | |
74b04a01 | 412 | --> $DIR/duplicate.rs:123:1 |
dc9dc135 | 413 | | |
416331ca XL |
414 | LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>; |
415 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 416 | |
dfeec247 | 417 | error[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 |
420 | LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>; |
421 | | ---------- ^^^^^^^^^^ re-bound here | |
422 | | | | |
423 | | `Item` bound here first | |
dc9dc135 XL |
424 | |
425 | error: could not find defining uses | |
74b04a01 | 426 | --> $DIR/duplicate.rs:128:1 |
dc9dc135 | 427 | | |
416331ca XL |
428 | LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>; |
429 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 430 | |
dfeec247 | 431 | error[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 |
434 | LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>; |
435 | | ---------- ^^^^^^^^^^ re-bound here | |
436 | | | | |
437 | | `Item` bound here first | |
dc9dc135 XL |
438 | |
439 | error: could not find defining uses | |
74b04a01 | 440 | --> $DIR/duplicate.rs:133:1 |
dc9dc135 | 441 | | |
416331ca XL |
442 | LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>; |
443 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
dc9dc135 | 444 | |
dfeec247 | 445 | error[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 |
448 | LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>; |
449 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
450 | | | | |
451 | | `Item` bound here first | |
dc9dc135 | 452 | |
dfeec247 | 453 | error[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 | | |
456 | LL | trait TRI1<T: Iterator<Item: Copy, Item: Send>> {} | |
457 | | ---------- ^^^^^^^^^^ re-bound here | |
458 | | | | |
459 | | `Item` bound here first | |
460 | ||
dfeec247 | 461 | error[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 | | |
464 | LL | trait TRI2<T: Iterator<Item: Copy, Item: Copy>> {} | |
465 | | ---------- ^^^^^^^^^^ re-bound here | |
466 | | | | |
467 | | `Item` bound here first | |
468 | ||
dfeec247 | 469 | error[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 | | |
472 | LL | trait TRI3<T: Iterator<Item: 'static, Item: 'static>> {} | |
473 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
474 | | | | |
475 | | `Item` bound here first | |
476 | ||
dfeec247 | 477 | error[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 | | |
480 | LL | trait TRS1: Iterator<Item: Copy, Item: Send> {} | |
481 | | ---------- ^^^^^^^^^^ re-bound here | |
482 | | | | |
483 | | `Item` bound here first | |
484 | ||
dfeec247 | 485 | error[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 | | |
488 | LL | trait TRS2: Iterator<Item: Copy, Item: Copy> {} | |
489 | | ---------- ^^^^^^^^^^ re-bound here | |
490 | | | | |
491 | | `Item` bound here first | |
492 | ||
dfeec247 | 493 | error[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 | | |
496 | LL | trait TRS3: Iterator<Item: 'static, Item: 'static> {} | |
497 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
498 | | | | |
499 | | `Item` bound here first | |
500 | ||
dfeec247 | 501 | error[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 | | |
504 | LL | trait TRW1<T> where T: Iterator<Item: Copy, Item: Send> {} | |
505 | | ---------- ^^^^^^^^^^ re-bound here | |
506 | | | | |
507 | | `Item` bound here first | |
508 | ||
dfeec247 | 509 | error[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 | | |
512 | LL | trait TRW2<T> where T: Iterator<Item: Copy, Item: Copy> {} | |
513 | | ---------- ^^^^^^^^^^ re-bound here | |
514 | | | | |
515 | | `Item` bound here first | |
516 | ||
dfeec247 | 517 | error[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 | | |
520 | LL | trait TRW3<T> where T: Iterator<Item: 'static, Item: 'static> {} | |
521 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
522 | | | | |
523 | | `Item` bound here first | |
524 | ||
dfeec247 | 525 | error[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 | | |
528 | LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {} | |
529 | | ---------- ^^^^^^^^^^ re-bound here | |
530 | | | | |
531 | | `Item` bound here first | |
532 | ||
dfeec247 | 533 | error[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 | | |
536 | LL | trait TRSW1 where Self: Iterator<Item: Copy, Item: Send> {} | |
537 | | ---------- ^^^^^^^^^^ re-bound here | |
538 | | | | |
539 | | `Item` bound here first | |
540 | ||
541 | error[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 | | |
544 | LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {} | |
545 | | ---------- ^^^^^^^^^^ re-bound here | |
546 | | | | |
547 | | `Item` bound here first | |
548 | ||
dfeec247 | 549 | error[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 | | |
552 | LL | trait TRSW2 where Self: Iterator<Item: Copy, Item: Copy> {} | |
553 | | ---------- ^^^^^^^^^^ re-bound here | |
554 | | | | |
555 | | `Item` bound here first | |
556 | ||
557 | error[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 | | |
560 | LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {} | |
561 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
562 | | | | |
563 | | `Item` bound here first | |
564 | ||
565 | error[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 | | |
568 | LL | trait TRSW3 where Self: Iterator<Item: 'static, Item: 'static> {} | |
569 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
570 | | | | |
571 | | `Item` bound here first | |
572 | ||
dfeec247 | 573 | error[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 | | |
576 | LL | trait TRA1 { type A: Iterator<Item: Copy, Item: Send>; } | |
577 | | ---------- ^^^^^^^^^^ re-bound here | |
578 | | | | |
579 | | `Item` bound here first | |
580 | ||
dfeec247 | 581 | error[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 | | |
584 | LL | trait TRA2 { type A: Iterator<Item: Copy, Item: Copy>; } | |
585 | | ---------- ^^^^^^^^^^ re-bound here | |
586 | | | | |
587 | | `Item` bound here first | |
588 | ||
dfeec247 | 589 | error[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 | | |
592 | LL | trait TRA3 { type A: Iterator<Item: 'static, Item: 'static>; } | |
593 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
594 | | | | |
595 | | `Item` bound here first | |
596 | ||
dfeec247 | 597 | error[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 | | |
600 | LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>; | |
601 | | ---------- ^^^^^^^^^^ re-bound here | |
602 | | | | |
603 | | `Item` bound here first | |
604 | ||
dfeec247 | 605 | error[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 | | |
608 | LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>; | |
609 | | ---------- ^^^^^^^^^^ re-bound here | |
610 | | | | |
611 | | `Item` bound here first | |
612 | ||
dfeec247 | 613 | error[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 | | |
616 | LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>; | |
617 | | ------------- ^^^^^^^^^^^^^ re-bound here | |
618 | | | | |
619 | | `Item` bound here first | |
620 | ||
621 | error: could not find defining uses | |
74b04a01 | 622 | --> $DIR/duplicate.rs:108:24 |
e1599b0c XL |
623 | | |
624 | LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy; | |
625 | | ^^^^^^^^^^ | |
dc9dc135 XL |
626 | |
627 | error: could not find defining uses | |
74b04a01 | 628 | --> $DIR/duplicate.rs:108:36 |
e1599b0c XL |
629 | | |
630 | LL | type ETAI1<T: Iterator<Item: Copy, Item: Send>> = impl Copy; | |
631 | | ^^^^^^^^^^ | |
dc9dc135 XL |
632 | |
633 | error: could not find defining uses | |
74b04a01 | 634 | --> $DIR/duplicate.rs:113:24 |
e1599b0c XL |
635 | | |
636 | LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy; | |
637 | | ^^^^^^^^^^ | |
dc9dc135 XL |
638 | |
639 | error: could not find defining uses | |
74b04a01 | 640 | --> $DIR/duplicate.rs:113:36 |
e1599b0c XL |
641 | | |
642 | LL | type ETAI2<T: Iterator<Item: Copy, Item: Copy>> = impl Copy; | |
643 | | ^^^^^^^^^^ | |
dc9dc135 XL |
644 | |
645 | error: could not find defining uses | |
74b04a01 | 646 | --> $DIR/duplicate.rs:118:24 |
e1599b0c XL |
647 | | |
648 | LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy; | |
649 | | ^^^^^^^^^^^^^ | |
dc9dc135 XL |
650 | |
651 | error: could not find defining uses | |
74b04a01 | 652 | --> $DIR/duplicate.rs:118:39 |
e1599b0c XL |
653 | | |
654 | LL | type ETAI3<T: Iterator<Item: 'static, Item: 'static>> = impl Copy; | |
655 | | ^^^^^^^^^^^^^ | |
dc9dc135 XL |
656 | |
657 | error: could not find defining uses | |
74b04a01 | 658 | --> $DIR/duplicate.rs:123:28 |
e1599b0c XL |
659 | | |
660 | LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>; | |
661 | | ^^^^^^^^^^ | |
dc9dc135 XL |
662 | |
663 | error: could not find defining uses | |
74b04a01 | 664 | --> $DIR/duplicate.rs:123:40 |
e1599b0c XL |
665 | | |
666 | LL | type ETAI4 = impl Iterator<Item: Copy, Item: Send>; | |
667 | | ^^^^^^^^^^ | |
dc9dc135 XL |
668 | |
669 | error: could not find defining uses | |
74b04a01 | 670 | --> $DIR/duplicate.rs:128:28 |
e1599b0c XL |
671 | | |
672 | LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>; | |
673 | | ^^^^^^^^^^ | |
dc9dc135 XL |
674 | |
675 | error: could not find defining uses | |
74b04a01 | 676 | --> $DIR/duplicate.rs:128:40 |
e1599b0c XL |
677 | | |
678 | LL | type ETAI5 = impl Iterator<Item: Copy, Item: Copy>; | |
679 | | ^^^^^^^^^^ | |
dc9dc135 XL |
680 | |
681 | error: could not find defining uses | |
74b04a01 | 682 | --> $DIR/duplicate.rs:133:28 |
e1599b0c XL |
683 | | |
684 | LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>; | |
685 | | ^^^^^^^^^^^^^ | |
dc9dc135 XL |
686 | |
687 | error: could not find defining uses | |
74b04a01 | 688 | --> $DIR/duplicate.rs:133:43 |
e1599b0c XL |
689 | | |
690 | LL | type ETAI6 = impl Iterator<Item: 'static, Item: 'static>; | |
691 | | ^^^^^^^^^^^^^ | |
dc9dc135 XL |
692 | |
693 | error: could not find defining uses | |
74b04a01 | 694 | --> $DIR/duplicate.rs:173:28 |
e1599b0c XL |
695 | | |
696 | LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>; | |
697 | | ^^^^^^^^^^ | |
dc9dc135 XL |
698 | |
699 | error: could not find defining uses | |
74b04a01 | 700 | --> $DIR/duplicate.rs:173:40 |
e1599b0c XL |
701 | | |
702 | LL | type TADyn1 = dyn Iterator<Item: Copy, Item: Send>; | |
703 | | ^^^^^^^^^^ | |
dc9dc135 XL |
704 | |
705 | error: could not find defining uses | |
74b04a01 | 706 | --> $DIR/duplicate.rs:177:32 |
e1599b0c XL |
707 | | |
708 | LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>; | |
709 | | ^^^^^^^^^^ | |
dc9dc135 XL |
710 | |
711 | error: could not find defining uses | |
74b04a01 | 712 | --> $DIR/duplicate.rs:177:44 |
e1599b0c XL |
713 | | |
714 | LL | type TADyn2 = Box<dyn Iterator<Item: Copy, Item: Copy>>; | |
715 | | ^^^^^^^^^^ | |
dc9dc135 XL |
716 | |
717 | error: could not find defining uses | |
74b04a01 | 718 | --> $DIR/duplicate.rs:181:28 |
e1599b0c XL |
719 | | |
720 | LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>; | |
721 | | ^^^^^^^^^^^^^ | |
dc9dc135 XL |
722 | |
723 | error: could not find defining uses | |
74b04a01 | 724 | --> $DIR/duplicate.rs:181:43 |
e1599b0c XL |
725 | | |
726 | LL | type TADyn3 = dyn Iterator<Item: 'static, Item: 'static>; | |
727 | | ^^^^^^^^^^^^^ | |
dc9dc135 | 728 | |
ba9703b0 | 729 | error: aborting due to 96 previous errors; 1 warning emitted |
dc9dc135 | 730 | |
74b04a01 | 731 | For more information about this error, try `rustc --explain E0719`. |