]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/assoc-type-in-superbad.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / assoc-type-in-superbad.stderr
diff --git a/src/test/ui/traits/assoc-type-in-superbad.stderr b/src/test/ui/traits/assoc-type-in-superbad.stderr
new file mode 100644 (file)
index 0000000..cbdb6b9
--- /dev/null
@@ -0,0 +1,9 @@
+error[E0271]: type mismatch resolving `<std::vec::IntoIter<i32> as Iterator>::Item == u32`
+  --> $DIR/assoc-type-in-superbad.rs:12:16
+   |
+LL |     type Key = u32;
+   |                ^^^ expected `i32`, found `u32`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0271`.