summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issue-101477-enum.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/issue-101477-enum.stderr')
-rw-r--r--src/test/ui/parser/issue-101477-enum.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/parser/issue-101477-enum.stderr b/src/test/ui/parser/issue-101477-enum.stderr
new file mode 100644
index 000000000..bffc881bd
--- /dev/null
+++ b/src/test/ui/parser/issue-101477-enum.stderr
@@ -0,0 +1,14 @@
+error: unexpected `==`
+ --> $DIR/issue-101477-enum.rs:6:7
+ |
+LL | B == 2
+ | ^^ help: try using `=` instead
+
+error: expected item, found `==`
+ --> $DIR/issue-101477-enum.rs:6:7
+ |
+LL | B == 2
+ | ^^ expected item
+
+error: aborting due to 2 previous errors
+