]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/reference-link-reports-error-once.stderr
Auto merge of #99843 - oli-obk:is_useful_perf, r=compiler-errors
[rust.git] / src / test / rustdoc-ui / reference-link-reports-error-once.stderr
1 error: unresolved link to `ref`
2   --> $DIR/reference-link-reports-error-once.rs:13:10
3    |
4 LL | /// [a]: ref
5    |          ^^^ no item named `ref` in scope
6    |
7 note: the lint level is defined here
8   --> $DIR/reference-link-reports-error-once.rs:1:9
9    |
10 LL | #![deny(rustdoc::broken_intra_doc_links)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
13
14 error: unresolved link to `ref2`
15   --> $DIR/reference-link-reports-error-once.rs:15:10
16    |
17 LL | /// [b]: ref2
18    |          ^^^^ no item named `ref2` in scope
19    |
20    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
21
22 error: unresolved link to `ref`
23   --> $DIR/reference-link-reports-error-once.rs:7:62
24    |
25 LL | /// Other links to the same target should still emit error: [ref]
26    |                                                              ^^^ no item named `ref` in scope
27    |
28    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
29
30 error: unresolved link to `ref`
31   --> $DIR/reference-link-reports-error-once.rs:8:16
32    |
33 LL | /// Duplicate [ref]
34    |                ^^^ no item named `ref` in scope
35    |
36    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
37
38 error: unresolved link to `ref2`
39   --> $DIR/reference-link-reports-error-once.rs:10:60
40    |
41 LL | /// Other links to other targets should still emit error: [ref2]
42    |                                                            ^^^^ no item named `ref2` in scope
43    |
44    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
45
46 error: unresolved link to `ref2`
47   --> $DIR/reference-link-reports-error-once.rs:11:16
48    |
49 LL | /// Duplicate [ref2]
50    |                ^^^^ no item named `ref2` in scope
51    |
52    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
53
54 error: unresolved link to `ref`
55   --> $DIR/reference-link-reports-error-once.rs:18:6
56    |
57 LL | /// [ref][]
58    |      ^^^ no item named `ref` in scope
59    |
60    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
61
62 error: aborting due to 7 previous errors
63