]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-48364.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-48364.stderr
index b420654a32d8c9bfe6520c3c682ac2bed98184ca..4fc534d59c8997b53eab55409279b2452f0cada0 100644 (file)
@@ -1,11 +1,11 @@
 error[E0308]: mismatched types
-  --> $DIR/issue-48364.rs:12:21
+  --> $DIR/issue-48364.rs:2:21
    |
 LL |     b"".starts_with(stringify!(foo))
-   |                     ^^^^^^^^^^^^^^^ expected slice, found str
+   |                     ^^^^^^^^^^^^^^^ expected slice `[u8]`, found str
    |
-   = note: expected type `&[u8]`
-              found type `&'static str`
+   = note: expected reference `&[u8]`
+              found reference `&'static str`
 
 error: aborting due to previous error