-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Code in question: #77838 (comment)
Expected behaviour: some error pointing to this line, perhaps "no item named cosnt-link
in ..."
Instead, nothing happens.
If the link label does not contain a hyphen (-
), the expected error is reported.
//! Some broken [ref][link] //~ ERROR no item named
//! One more [broken][another-link] //~ ERROR no item named << this does not report an error currently
/// Some broken [ref][link] //~ ERROR no item named
/// One more [broken][another-link] //~ ERROR no item named << this does not report an error currently
mod something {}
Metadata
Metadata
Assignees
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.