]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type/type-mismatch-multiple.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / type / type-mismatch-multiple.rs
index b8f04ca8d4a33f07bcb08210d0370f60caac93c3..6270ee6471301f9eb03955d1333184f21436e489 100644 (file)
@@ -2,8 +2,6 @@
 
 fn main() { let a: bool = 1; let b: i32 = true; }
 //~^ ERROR mismatched types
-//~| expected type `bool`
-//~| found type `{integer}`
 //~| expected bool, found integer
 //~| ERROR mismatched types
 //~| expected i32, found bool