]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/traits/traits-assoc-type-in-supertrait-bad.stderr
Remove `AssocTypeBound` and propagate bound `Span`s
[rust.git] / src / test / ui / traits / traits-assoc-type-in-supertrait-bad.stderr
index 44643e8c8de43719c88b908dae45454061baf54f..604763f8e354e07e82f7f78ac14b7b031f2156d8 100644 (file)
@@ -1,11 +1,8 @@
 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