1 warning: associated type binding `Item` specified more than once
2 --> $DIR/issue-50589-multiple-associated-types.rs:17:39
4 LL | fn test() -> Box<Iterator<Item = (), Item = Unit>> {
5 | --------- ^^^^^^^^^^^ used more than once
9 = note: #[warn(duplicate_associated_type_bindings)] on by default
10 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11 = note: for more information, see issue #50589 <https://github.com/rust-lang/rust/issues/50589>
13 warning: associated type binding `Item` specified more than once
14 --> $DIR/issue-50589-multiple-associated-types.rs:17:39
16 LL | fn test() -> Box<Iterator<Item = (), Item = Unit>> {
17 | --------- ^^^^^^^^^^^ used more than once
21 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22 = note: for more information, see issue #50589 <https://github.com/rust-lang/rust/issues/50589>