about summary refs log tree commit diff
path: root/tests/ui/macros/macro-expand-within-generics-in-path.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-expand-within-generics-in-path.stderr')
-rw-r--r--tests/ui/macros/macro-expand-within-generics-in-path.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-expand-within-generics-in-path.stderr b/tests/ui/macros/macro-expand-within-generics-in-path.stderr
new file mode 100644
index 00000000000..72026c41050
--- /dev/null
+++ b/tests/ui/macros/macro-expand-within-generics-in-path.stderr
@@ -0,0 +1,14 @@
+error: unexpected generic arguments in path
+  --> $DIR/macro-expand-within-generics-in-path.rs:15:11
+   |
+LL | m!(generic<p!()>);
+   |           ^^^^^^
+
+error: cannot find attribute `generic` in this scope
+  --> $DIR/macro-expand-within-generics-in-path.rs:15:4
+   |
+LL | m!(generic<p!()>);
+   |    ^^^^^^^
+
+error: aborting due to 2 previous errors
+