about summary refs log tree commit diff
path: root/tests/ui/underscore-ident-matcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/underscore-ident-matcher.rs')
-rw-r--r--tests/ui/underscore-ident-matcher.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/underscore-ident-matcher.rs b/tests/ui/underscore-ident-matcher.rs
deleted file mode 100644
index 77ec70d43d5..00000000000
--- a/tests/ui/underscore-ident-matcher.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-macro_rules! identity {
-    ($i: ident) => (
-        $i
-    )
-}
-
-fn main() {
-    let identity!(_) = 10; //~ ERROR no rules expected reserved identifier `_`
-}