fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified 2 --> $DIR/E0719.rs:1:33 3 | 4LL | trait Foo: Iterator<Item = i32, Item = i32> {} 5 | ---------- ^^^^^^^^^^ re-bound here 6 | | 7 | `Item` bound here first 8 9error[E0719]: the value of the associated type `Item` (from the trait `std::iter::Iterator`) is already specified 10 --> $DIR/E0719.rs:6:42 11 | 12LL | fn test() -> Box<dyn Iterator<Item = (), Item = Unit>> { 13 | --------- ^^^^^^^^^^^ re-bound here 14 | | 15 | `Item` bound here first 16 17error: aborting due to 2 previous errors 18