summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/macro-ty-params.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/span/macro-ty-params.stderr')
-rw-r--r--tests/ui/span/macro-ty-params.stderr26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/ui/span/macro-ty-params.stderr b/tests/ui/span/macro-ty-params.stderr
new file mode 100644
index 000000000..7023ef8cd
--- /dev/null
+++ b/tests/ui/span/macro-ty-params.stderr
@@ -0,0 +1,26 @@
+error: generic arguments in macro path
+ --> $DIR/macro-ty-params.rs:10:10
+ |
+LL | foo::<T>!();
+ | ^^^
+
+error: generic arguments in macro path
+ --> $DIR/macro-ty-params.rs:11:10
+ |
+LL | foo::<>!();
+ | ^^
+
+error: unexpected generic arguments in path
+ --> $DIR/macro-ty-params.rs:12:15
+ |
+LL | m!(Default<>);
+ | ^^
+
+error: generic arguments in macro path
+ --> $DIR/macro-ty-params.rs:12:15
+ |
+LL | m!(Default<>);
+ | ^^
+
+error: aborting due to 4 previous errors
+