blob: b9721a5edfa4d9a5d98a09e4b6e1e9b3e5c486f3 [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/type-mismatch-multiple.rs:13:27
|
LL | fn main() { let a: bool = 1; let b: i32 = true; }
| ^ expected bool, found integral variable
|
= note: expected type `bool`
found type `{integer}`
error[E0308]: mismatched types
--> $DIR/type-mismatch-multiple.rs:13:43
|
LL | fn main() { let a: bool = 1; let b: i32 = true; }
| ^^^^ expected i32, found bool
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.