summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-attribute.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/macro-attribute.stderr')
-rw-r--r--src/test/ui/macros/macro-attribute.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-attribute.stderr b/src/test/ui/macros/macro-attribute.stderr
new file mode 100644
index 000000000..3316d3872
--- /dev/null
+++ b/src/test/ui/macros/macro-attribute.stderr
@@ -0,0 +1,8 @@
+error: expected expression, found `$`
+ --> $DIR/macro-attribute.rs:1:9
+ |
+LL | #[doc = $not_there]
+ | ^ expected expression
+
+error: aborting due to previous error
+