summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-43250.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-43250.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-43250.stderr b/src/test/ui/issues/issue-43250.stderr
new file mode 100644
index 000000000..f729c5cf1
--- /dev/null
+++ b/src/test/ui/issues/issue-43250.stderr
@@ -0,0 +1,14 @@
+error: arbitrary expressions aren't allowed in patterns
+ --> $DIR/issue-43250.rs:9:8
+ |
+LL | m!(y);
+ | ^
+
+error: arbitrary expressions aren't allowed in patterns
+ --> $DIR/issue-43250.rs:11:8
+ |
+LL | m!(C);
+ | ^
+
+error: aborting due to 2 previous errors
+