rust/tests/ui/binop/binop-logic-int.rs

4 lines
86 B
Rust

fn main() { let x = 1 && 2; }
//~^ ERROR mismatched types
//~| ERROR mismatched types