-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
rustdoc creates links to doc(hidden) associated type #151454
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This came up in #151365 if one takes just the first commit: the link checker started complaining about some rustdoc-generated files.
NonZeroInneris adoc(hidden)associated type of theZeroablePrimitivetrait. 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.