error[E0271]: type mismatch resolving `<std::vec::IntoIter<i32> as std::iter::Iterator>::Item == u32`
- --> $DIR/traits-assoc-type-in-supertrait-bad.rs:11:6
+ --> $DIR/traits-assoc-type-in-supertrait-bad.rs:12:16
|
-LL | impl Foo for IntoIter<i32> {
- | ^^^ expected i32, found u32
- |
- = note: expected type `i32`
- found type `u32`
+LL | type Key = u32;
+ | ^^^ expected `i32`, found `u32`
error: aborting due to previous error