]> 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 bbb9b51650e0226db4e2b9e54753bef6e5215a22..d65adea1ed426d23403b1dca354298758954aa2a 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
   --> $DIR/switched-expectations.rs:3:30
    |
-LL |     let ref string: String = var; //~ ERROR mismatched types [E0308]
+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