-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
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.
Description
// src/lib.rs
#![doc(hidden)]
#[doc(inline)]
pub use std;
#[doc(inline)]
pub use std::marker;
#[doc(inline)]
pub use std::marker::PhantomData;
Expected: empty documentation, as you would get with no items in the crate, or without #[doc(inline)] on the items.
Actual, as of rustdoc 1.70 through current nightly: the crate std
is shown despite #[doc(hidden)]. The other 2 items are correctly not shown.
davidzeng0
Metadata
Metadata
Assignees
Labels
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.