summary refs log tree commit diff
path: root/src/test/compile-fail/binop-logic-int.rs
blob: ef8643bd7b42e285a5e972d56c2c02943bffd0bc (plain)
1
2
3
// error-pattern:&& cannot be applied to type `int`

fn main() { let x = 1 && 2; }