]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/bad/bad-const-type.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / bad / bad-const-type.stderr
index 677dc72652e92d0452ee75af22654c65189041c3..f667779fab58f37f5daa7e51e8cd80faa20c4d40 100644 (file)
@@ -6,9 +6,6 @@ LL | static i: String = 10;
    |                    |
    |                    expected struct `std::string::String`, found integer
    |                    help: try using a conversion method: `10.to_string()`
-   |
-   = note: expected type `std::string::String`
-              found type `{integer}`
 
 error: aborting due to previous error