diff options
Diffstat (limited to 'src/test/ui/binop/binop-logic-int.rs')
-rw-r--r-- | src/test/ui/binop/binop-logic-int.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/binop/binop-logic-int.rs b/src/test/ui/binop/binop-logic-int.rs new file mode 100644 index 000000000..e71daa2dd --- /dev/null +++ b/src/test/ui/binop/binop-logic-int.rs @@ -0,0 +1,3 @@ +fn main() { let x = 1 && 2; } +//~^ ERROR mismatched types +//~| ERROR mismatched types |