summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-parameter-span.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/macro-parameter-span.rs')
-rw-r--r--src/test/ui/macros/macro-parameter-span.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/macros/macro-parameter-span.rs b/src/test/ui/macros/macro-parameter-span.rs
deleted file mode 100644
index 5609f84e1..000000000
--- a/src/test/ui/macros/macro-parameter-span.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-macro_rules! foo {
- ($id: ident) => {
- $id
- }
-}
-
-// Testing that the error span points to the parameter 'x' in the callsite,
-// not to the macro variable '$id'
-fn main() {
- foo!(
- x //~ ERROR cannot find value `x` in this scope
- );
-}