Skip to content

document-hidden-items should show when items are hidden #122485

Closed
@Manishearth

Description

@Manishearth

document-private-items shows a pub(crate) / empty on methods, and a 🔒 on types in the module interface.

We should do the same for hidden items with document-hidden-items, perhaps showing #[doc(hidden)] on methods and a 👻 in the types list.

Thoughts?

(n.b. document-hidden-items is currently -Zunstable-options)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions