]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/coercion/coercion-slice.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / coercion / coercion-slice.rs
index fbfe1984b9f4ae324b85c838b00dc47495c7f541..1d54d35f649a3d6786b5d7aa91db75df92981fac 100644 (file)
@@ -3,6 +3,5 @@
 fn main() {
     let _: &[i32] = [0];
     //~^ ERROR mismatched types
-    //~| expected reference `&[i32]`
-    //~| expected &[i32], found array of 1 element
+    //~| expected &[i32], found array `[{integer}; 1]`
 }