fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0308]: mismatched types 2 --> $DIR/binop-logic-int.rs:1:21 3 | 4LL | fn main() { let x = 1 && 2; } 5 | ^ expected bool, found integer 6 | 7 = note: expected type `bool` 8 found type `{integer}` 9 10error[E0308]: mismatched types 11 --> $DIR/binop-logic-int.rs:1:26 12 | 13LL | fn main() { let x = 1 && 2; } 14 | ^ expected bool, found integer 15 | 16 = note: expected type `bool` 17 found type `{integer}` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.