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