]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-13482-2.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-13482-2.rs
index f907be161fa0815a4fa5af331cf97386d1d1f347..e1fe2d06993d5ba4a21f4cddd18a3bf9713bccfa 100644 (file)
@@ -17,7 +17,7 @@ fn main() {
     let y = match x {
         [] => None,
 //~^ ERROR mismatched types
-//~| expected `[_#0i; 2]`
+//~| expected `[_#1i; 2]`
 //~| found `[_#7t; 0]`
 //~| expected an array with a fixed size of 2 elements
 //~| found one with 0 elements