]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2005-default-binding-mode/lit.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / lit.stderr
index f8df0b4ada0826b0b7395d632fcbe2500e371287..fd48c56c07b798360cf6d7f11765536afcf0c0df 100644 (file)
@@ -11,7 +11,7 @@ error[E0308]: mismatched types
   --> $DIR/lit.rs:16:9
    |
 LL |         b"abc" => true,
-   |         ^^^^^^ expected &[u8], found array of 3 elements
+   |         ^^^^^^ expected &[u8], found array `[u8; 3]`
    |
    = note:   expected type `&&[u8]`
            found reference `&'static [u8; 3]`