summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/pub-export-lint.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/pub-export-lint.stderr')
-rw-r--r--tests/rustdoc-ui/intra-doc/pub-export-lint.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/pub-export-lint.stderr b/tests/rustdoc-ui/intra-doc/pub-export-lint.stderr
new file mode 100644
index 000000000..81ef79961
--- /dev/null
+++ b/tests/rustdoc-ui/intra-doc/pub-export-lint.stderr
@@ -0,0 +1,15 @@
+error: unresolved link to `aloha`
+ --> $DIR/pub-export-lint.rs:3:6
+ |
+LL | /// [aloha]
+ | ^^^^^ no item named `aloha` in scope
+ |
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
+note: the lint level is defined here
+ --> $DIR/pub-export-lint.rs:1:9
+ |
+LL | #![deny(rustdoc::broken_intra_doc_links)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+