]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-logic-int.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / binop / binop-logic-int.stderr
1 error[E0308]: mismatched types
2   --> $DIR/binop-logic-int.rs:1:21
3    |
4 LL | fn main() { let x = 1 && 2; }
5    |                     ^ expected `bool`, found integer
6
7 error[E0308]: mismatched types
8   --> $DIR/binop-logic-int.rs:1:26
9    |
10 LL | fn main() { let x = 1 && 2; }
11    |                          ^ expected `bool`, found integer
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0308`.