1 #![deny(rustdoc::broken_intra_doc_links)]
3 /// Links to [a] [link][a]
4 /// And also a [third link][a]
5 /// And also a [reference link][b]
7 /// Other links to the same target should still emit error: [ref] //~ERROR unresolved link to `ref`
8 /// Duplicate [ref] //~ERROR unresolved link to `ref`
10 /// Other links to other targets should still emit error: [ref2] //~ERROR unresolved link to `ref2`
11 /// Duplicate [ref2] //~ERROR unresolved link to `ref2`
14 //~^ ERROR unresolved link to `ref`
16 //~^ ERROR unresolved link to
19 //~^ ERROR unresolved link