1 error[E0308]: mismatched types
2 --> $DIR/type-mismatch-multiple.rs:3:27
4 LL | fn main() { let a: bool = 1; let b: i32 = true; }
5 | ^ expected bool, found integral variable
7 = note: expected type `bool`
10 error[E0308]: mismatched types
11 --> $DIR/type-mismatch-multiple.rs:3:43
13 LL | fn main() { let a: bool = 1; let b: i32 = true; }
14 | ^^^^ expected i32, found bool
16 error: aborting due to 2 previous errors
18 For more information about this error, try `rustc --explain E0308`.