]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-13058.rs
Imported Upstream version 1.0.0-alpha.2
[rustc.git] / src / test / compile-fail / issue-13058.rs
index eee82483cae1daa052d4393158229d4218a12feb..06f14158b91577f7b4219f5b2bcc767e231fc511 100644 (file)
@@ -34,6 +34,10 @@ fn check<'r, I: Iterator<Item=usize>, T: Itble<'r, usize, I>>(cont: &T) -> bool
 }
 
 fn main() {
-    check((3us, 5us));
-//~^ ERROR mismatched types: expected `&_`, found `(usize, usize)` (expected &-ptr, found tuple)
+    check((3_usize, 5_usize));
+//~^ ERROR mismatched types
+//~| expected `&_`
+//~| found `(usize, usize)`
+//~| expected &-ptr
+//~| found tuple
 }