]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/binop-logic-int.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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`.