Skip to content

rustdoc: Various #[doc] attributes are not fully validated (e.g., #[doc(hidden)], #[doc(no_inline)]) #146346

Description

@nik-rev

The docs don't mention this. Is it supposed to represent the reason why the item is hidden, or was it an oversight?

12 instances of this on GitHub: https://github.com/search?q=%2F%23%5C%5Bdoc%5C(hidden%20%3D%20%22%2F&type=code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.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