summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/macro-ty-params.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/span/macro-ty-params.rs')
-rw-r--r--src/test/ui/span/macro-ty-params.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/span/macro-ty-params.rs b/src/test/ui/span/macro-ty-params.rs
deleted file mode 100644
index cf28b0255..000000000
--- a/src/test/ui/span/macro-ty-params.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-macro_rules! m {
- ($p1: path) => {
- #[derive($p1)] struct U;
- }
-}
-
-macro_rules! foo { () => () }
-
-fn main() {
- foo::<T>!(); //~ ERROR generic arguments in macro path
- foo::<>!(); //~ ERROR generic arguments in macro path
- m!(Default<>);
- //~^ ERROR unexpected generic arguments in path
- //~^^ ERROR generic arguments in macro path
-}