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