diff options
Diffstat (limited to 'tests/ui/operator-recovery/less-than-greater-than.rs')
-rw-r--r-- | tests/ui/operator-recovery/less-than-greater-than.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/operator-recovery/less-than-greater-than.rs b/tests/ui/operator-recovery/less-than-greater-than.rs new file mode 100644 index 000000000..2beed528f --- /dev/null +++ b/tests/ui/operator-recovery/less-than-greater-than.rs @@ -0,0 +1,4 @@ +fn main() { + println!("{}", 1 <> 2); + //~^ERROR invalid comparison operator `<>` +} |