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