1 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
4 LL | trait Foo: Iterator<Item = i32, Item = i32> {}
5 | ---------- ^^^^^^^^^^ re-bound here
7 | `Item` bound here first
9 error[E0719]: the value of the associated type `Item` (from trait `Iterator`) is already specified
10 --> $DIR/E0719.rs:6:42
12 LL | fn test() -> Box<dyn Iterator<Item = (), Item = Unit>> {
13 | --------- ^^^^^^^^^^^ re-bound here
15 | `Item` bound here first
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0719`.