about summary refs log tree commit diff
path: root/tests/ui/attributes/extented-attribute-macro-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/extented-attribute-macro-error.stderr')
-rw-r--r--tests/ui/attributes/extented-attribute-macro-error.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/attributes/extented-attribute-macro-error.stderr b/tests/ui/attributes/extented-attribute-macro-error.stderr
new file mode 100644
index 00000000000..0fcde9b7cc6
--- /dev/null
+++ b/tests/ui/attributes/extented-attribute-macro-error.stderr
@@ -0,0 +1,10 @@
+error: couldn't read the file
+  --> $DIR/extented-attribute-macro-error.rs:3:10
+   |
+LL | #![doc = include_str!("../not_existing_file.md")]
+   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |
+   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+