diff options
Diffstat (limited to 'tests/ui/operator-recovery/less-than-greater-than.stderr')
-rw-r--r-- | tests/ui/operator-recovery/less-than-greater-than.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/operator-recovery/less-than-greater-than.stderr b/tests/ui/operator-recovery/less-than-greater-than.stderr new file mode 100644 index 000000000..80c921535 --- /dev/null +++ b/tests/ui/operator-recovery/less-than-greater-than.stderr @@ -0,0 +1,8 @@ +error: invalid comparison operator `<>` + --> $DIR/less-than-greater-than.rs:2:22 + | +LL | println!("{}", 1 <> 2); + | ^^ help: `<>` is not a valid comparison operator, use `!=` + +error: aborting due to previous error + |