]> 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 b9721a5edfa4d9a5d98a09e4b6e1e9b3e5c486f3..6de8a056978cbe4be1d0441e85b7dae54a744837 100644 (file)
@@ -1,14 +1,11 @@
 error[E0308]: mismatched types
-  --> $DIR/type-mismatch-multiple.rs:13:27
+  --> $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:13:43
+  --> $DIR/type-mismatch-multiple.rs:3:43
    |
 LL | fn main() { let a: bool = 1; let b: i32 = true; }
    |                                           ^^^^ expected i32, found bool