1 error[E0284]: type annotations needed: cannot satisfy `<Self as Iterator>::Item == i32`
2 --> $DIR/associated-types-overridden-binding.rs:4:12
4 LL | trait Bar: Foo<Item = u32> {}
5 | ^^^^^^^^^^^^^^^ cannot satisfy `<Self as Iterator>::Item == i32`
7 note: required by a bound in `Foo`
8 --> $DIR/associated-types-overridden-binding.rs:3:21
10 LL | trait Foo: Iterator<Item = i32> {}
11 | ^^^^^^^^^^ required by this bound in `Foo`
13 error[E0284]: type annotations needed: cannot satisfy `<Self as Iterator>::Item == i32`
14 --> $DIR/associated-types-overridden-binding.rs:7:21
16 LL | trait U32Iterator = I32Iterator<Item = u32>;
17 | ^^^^^^^^^^^^^^^^^^^^^^^ cannot satisfy `<Self as Iterator>::Item == i32`
19 note: required by a bound in `I32Iterator`
20 --> $DIR/associated-types-overridden-binding.rs:6:30
22 LL | trait I32Iterator = Iterator<Item = i32>;
23 | ^^^^^^^^^^ required by this bound in `I32Iterator`
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0284`.