about summary refs log tree commit diff
path: root/tests/ui/macros/no-matching-rule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/no-matching-rule.rs')
-rw-r--r--tests/ui/macros/no-matching-rule.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/macros/no-matching-rule.rs b/tests/ui/macros/no-matching-rule.rs
new file mode 100644
index 00000000000..55e547ee72b
--- /dev/null
+++ b/tests/ui/macros/no-matching-rule.rs
@@ -0,0 +1,3 @@
+fn main() {
+    panic!(@); //~ ERROR no rules expected `@`
+}