about summary refs log tree commit diff
path: root/tests/ui/macros/macro-attribute.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-attribute.stderr')
-rw-r--r--tests/ui/macros/macro-attribute.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-attribute.stderr b/tests/ui/macros/macro-attribute.stderr
new file mode 100644
index 00000000000..3316d387264
--- /dev/null
+++ b/tests/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
+