]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/switched-expectations.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / switched-expectations.stderr
index 043d130051d77f114ba5a2e58401701bb64f2799..d65adea1ed426d23403b1dca354298758954aa2a 100644 (file)
@@ -3,9 +3,6 @@ error[E0308]: mismatched types
    |
 LL |     let ref string: String = var;
    |                              ^^^ expected struct `std::string::String`, found i32
-   |
-   = note: expected type `std::string::String`
-              found type `i32`
 
 error: aborting due to previous error