1 error[E0271]: type mismatch resolving `<std::vec::IntoIter<i32> as std::iter::Iterator>::Item == u32`
2 --> $DIR/traits-assoc-type-in-supertrait-bad.rs:11:6
4 LL | pub trait Foo: Iterator<Item=<Self as Foo>::Key> {
5 | ----------------------- required by this bound in `Foo`
7 LL | impl Foo for IntoIter<i32> {
8 | ^^^ expected `i32`, found `u32`
10 = note: required because of the requirements on the impl of `Foo` for `std::vec::IntoIter<i32>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0271`.