]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type/type-mismatch-multiple.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / type / type-mismatch-multiple.stderr
index b38579046b5859eefcb2e67a722fd99781a37f03..6de8a056978cbe4be1d0441e85b7dae54a744837 100644 (file)
@@ -2,10 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/type-mismatch-multiple.rs:3:27
    |
 LL | fn main() { let a: bool = 1; let b: i32 = true; }
-   |                           ^ expected bool, found integral variable
-   |
-   = note: expected type `bool`
-              found type `{integer}`
+   |                           ^ expected bool, found integer
 
 error[E0308]: mismatched types
   --> $DIR/type-mismatch-multiple.rs:3:43