Unify error reporting for intra-doc links #75836
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Right now there are two places that deal with disambiguators:
rust/src/librustdoc/passes/collect_intra_doc_links.rs
Line 782 in f5d7848
rust/src/librustdoc/passes/collect_intra_doc_links.rs
Line 1138 in f5d7848
which @euclio wrote in refactor and reword intra-doc link errors #74528. I didn't notice the second one even though I reviewed refactor and reword intra-doc link errors #74528 🙈.
It would be great to unify these into one function so the errors reported are consistent; I ran into some trouble with this in #75815 (comment).
The text was updated successfully, but these errors were encountered: