summaryrefslogtreecommitdiffstats
path: root/src/test/ui/modules/path-macro.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/modules/path-macro.stderr')
-rw-r--r--src/test/ui/modules/path-macro.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/modules/path-macro.stderr b/src/test/ui/modules/path-macro.stderr
new file mode 100644
index 000000000..9a2e01ea2
--- /dev/null
+++ b/src/test/ui/modules/path-macro.stderr
@@ -0,0 +1,8 @@
+error: malformed `path` attribute input
+ --> $DIR/path-macro.rs:5:1
+ |
+LL | #[path = foo!()]
+ | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[path = "file"]`
+
+error: aborting due to previous error
+