summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/broken-link-in-unused-doc-string.stderr
blob: b25849f25b4552de488b2835c51fdbd7e2bcac51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
warning: unresolved link to `3`
  --> $DIR/broken-link-in-unused-doc-string.rs:14:6
   |
LL | /// [3]
   |      ^ no item named `3` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `1`
  --> $DIR/broken-link-in-unused-doc-string.rs:6:6
   |
LL | /// [1]
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

warning: unresolved link to `1`
  --> $DIR/broken-link-in-unused-doc-string.rs:6:6
   |
LL | /// [1]
   |      ^ no item named `1` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

warning: 3 warnings emitted