-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Private fields in aliased type should not be shown #124938
Copy link
Copy link
Closed
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:
with
rustdocand--document-private-items.I expected to see this happen: No internal fields of the
BTreeMapshould be displayed as users won't be able to use the fields, making their appearance confusing and useless.Instead, this happened: The internal fields of the
BTreeMapare displayedReal impact as can be seen here.
Meta
rustdoc --version --verbose: