Rustdoc reports intradoc link errors twice if there are multiple links #77681
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Rustdoc warns once, because there is only one reference link.
Instead, this happened: Rustdoc warns twice, because there are multiple uses of the reference link.
Meta
rustdoc +nightly --version
: rustdoc 1.48.0-nightly (8fe73e8 2020-10-01)The text was updated successfully, but these errors were encountered: