]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coercion/coercion-slice.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / coercion / coercion-slice.rs
index b69edcf26063738cc7d22383b64ff3649c82fa4d..b756c8f8203a086df7e2b8690d5a1c728db3f44a 100644 (file)
@@ -3,6 +3,5 @@
 fn main() {
     let _: &[i32] = [0];
     //~^ ERROR mismatched types
-    //~| expected type `&[i32]`
-    //~| expected &[i32], found array of 1 element
+    //~| expected `&[i32]`, found array `[{integer}; 1]`
 }