1 error: unresolved link to `ref`
2 --> $DIR/reference-link-reports-error-once.rs:13:10
5 | ^^^ no item named `ref` in scope
7 note: the lint level is defined here
8 --> $DIR/reference-link-reports-error-once.rs:1:9
10 LL | #![deny(broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
12 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
14 error: unresolved link to `ref2`
15 --> $DIR/reference-link-reports-error-once.rs:15:10
18 | ^^^^ no item named `ref2` in scope
20 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
22 error: unresolved link to `ref`
23 --> $DIR/reference-link-reports-error-once.rs:7:62
25 LL | /// Other links to the same target should still emit error: [ref]
26 | ^^^ no item named `ref` in scope
28 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
30 error: unresolved link to `ref`
31 --> $DIR/reference-link-reports-error-once.rs:8:16
33 LL | /// Duplicate [ref]
34 | ^^^ no item named `ref` in scope
36 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
38 error: unresolved link to `ref2`
39 --> $DIR/reference-link-reports-error-once.rs:10:60
41 LL | /// Other links to other targets should still emit error: [ref2]
42 | ^^^^ no item named `ref2` in scope
44 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
46 error: unresolved link to `ref2`
47 --> $DIR/reference-link-reports-error-once.rs:11:16
49 LL | /// Duplicate [ref2]
50 | ^^^^ no item named `ref2` in scope
52 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
54 error: unresolved link to `ref`
55 --> $DIR/reference-link-reports-error-once.rs:18:6
58 | ^^^ no item named `ref` in scope
60 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
62 error: aborting due to 7 previous errors