]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/codemap_tests/tab.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / codemap_tests / tab.stderr
index 7b3f959c1cb38adfa08a366308041deb3cdb2370..3ee10cd4cb8288126d794f7595ad0e6d0bd3300b 100644 (file)
@@ -10,10 +10,7 @@ error[E0308]: mismatched types
 LL | fn foo() {
    |          - help: try adding a return type: `-> &'static str`
 LL |     "bar            boo"
-   |     ^^^^^^^^^^^^^^^^^^^^ expected (), found reference
-   |
-   = note: expected type `()`
-              found type `&'static str`
+   |     ^^^^^^^^^^^^^^^^^^^^ expected (), found &str
 
 error: aborting due to 2 previous errors