]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/tuple-arity-mismatch.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / tuple-arity-mismatch.rs
index e62255a4e77d4301756320a6cd13c25f5f5c69fa..a71f441029472229b37f3e0af7a09b5ea105a9a7 100644 (file)
@@ -16,7 +16,7 @@ fn main() {
     let y = first ((1,2.0,3));
     //~^ ERROR mismatched types
     //~| expected type `(isize, f64)`
-    //~| found type `(isize, f64, _)`
+    //~| found type `(isize, f64, {integer})`
     //~| expected a tuple with 2 elements, found one with 3 elements
 
     let y = first ((1,));