summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/issue-61033-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/issue-61033-1.stderr')
-rw-r--r--src/test/ui/macros/issue-61033-1.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/macros/issue-61033-1.stderr b/src/test/ui/macros/issue-61033-1.stderr
new file mode 100644
index 000000000..18205c343
--- /dev/null
+++ b/src/test/ui/macros/issue-61033-1.stderr
@@ -0,0 +1,17 @@
+error: this must repeat at least once
+ --> $DIR/issue-61033-1.rs:4:34
+ |
+LL | ($x:ident, $($tt:tt)*) => { $($tt)+ }
+ | ^^^^^
+
+error[E0308]: mismatched types
+ --> $DIR/issue-61033-1.rs:9:33
+ |
+LL | let _recovery_witness: () = 0;
+ | -- ^ expected `()`, found integer
+ | |
+ | expected due to this
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0308`.