about summary refs log tree commit diff
path: root/tests/ui/proc-macro/match-expander.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/proc-macro/match-expander.stderr')
-rw-r--r--tests/ui/proc-macro/match-expander.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/match-expander.stderr b/tests/ui/proc-macro/match-expander.stderr
new file mode 100644
index 00000000000..b77468ec60a
--- /dev/null
+++ b/tests/ui/proc-macro/match-expander.stderr
@@ -0,0 +1,11 @@
+error[E0308]: mismatched types
+  --> $DIR/match-expander.rs:8:5
+   |
+LL |     match_expander::matcher!();
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `S`, found `bool`
+   |
+   = note: this error originates in the macro `match_expander::matcher` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to 1 previous error
+
+For more information about this error, try `rustc --explain E0308`.