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