summaryrefslogtreecommitdiffstats
path: root/src/test/ui/operator-recovery/less-than-greater-than.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/operator-recovery/less-than-greater-than.stderr')
-rw-r--r--src/test/ui/operator-recovery/less-than-greater-than.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/operator-recovery/less-than-greater-than.stderr b/src/test/ui/operator-recovery/less-than-greater-than.stderr
new file mode 100644
index 000000000..80c921535
--- /dev/null
+++ b/src/test/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
+