-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
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
This came up in #151365 if one takes just the first commit: the link checker started complaining about some rustdoc-generated files.
core/marker/trait.UnsafeUnpin.html:124: broken link fragment `#associatedtype.NonZeroInner` pointing to `core/num/trait.ZeroablePrimitive.html`
core/num/struct.NonZero.html:3880: broken link fragment `#associatedtype.NonZeroInner` pointing to `core/num/trait.ZeroablePrimitive.html`
std/marker/trait.UnsafeUnpin.html:195: broken link fragment `#associatedtype.NonZeroInner` pointing to `std/num/trait.ZeroablePrimitive.html`
std/num/struct.NonZero.html:4108: broken link fragment `#associatedtype.NonZeroInner` pointing to `std/num/trait.ZeroablePrimitive.html`
NonZeroInner is a doc(hidden) associated type of the ZeroablePrimitive trait. It seems like the changes in this commit cause rustdoc to render trait instances that refer to this associated type, with links to the type definition, but since the type is hidden those links are dangling.
Reactions are currently unavailable
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.