about summary refs log tree commit diff
path: root/tests/ui/macros/issue-61033-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/issue-61033-2.stderr')
-rw-r--r--tests/ui/macros/issue-61033-2.stderr24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-61033-2.stderr b/tests/ui/macros/issue-61033-2.stderr
new file mode 100644
index 00000000000..cdfe7934a0c
--- /dev/null
+++ b/tests/ui/macros/issue-61033-2.stderr
@@ -0,0 +1,24 @@
+error: meta-variable `id1` repeats 2 times, but `id2` repeats 3 times
+  --> $DIR/issue-61033-2.rs:8:10
+   |
+LL |           $(
+   |  __________^
+LL | |
+LL | |
+LL | |             $id1 + $id2 // $id1 and $id2 may repeat different numbers of times
+LL | |         )*
+   | |_________^
+
+error: meta-variable `id1` repeats 2 times, but `id2` repeats 4 times
+  --> $DIR/issue-61033-2.rs:8:10
+   |
+LL |           $(
+   |  __________^
+LL | |
+LL | |
+LL | |             $id1 + $id2 // $id1 and $id2 may repeat different numbers of times
+LL | |         )*
+   | |_________^
+
+error: aborting due to 2 previous errors
+