-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Rustdoc doesn't play well with use ... as _ syntax #97615
Copy link
Copy link
Open
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-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-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-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.
I tried this code:
I expected to see this happen: there should be a way to view all the items reexported anonymously in docs. Maybe even just expose them by original names in docs.
Instead, this happened:
The traits are visible in rustodoc as a single
prelude::_And when you click on any of
_links you see only this:Looks like
rustdocwrites the docs for the arbitrary item reexported withuse ... as _;Meta
rustdoc --version --verbose:rustc --version --verbose