Code
#[doc(hidden)]
pub(crate) struct __ABC;
/// foo bar
#[doc(inline)]
pub(crate) use __ABC as ABC;
Reproduction Steps
cargo doc --document-private-items --open
Expected Outcome
Private reexports should be documented (following reexport doc inline rules) when the --document-private-items option is enabled.
Version
rustdoc 1.98.0-nightly (ce9954c0c 2026-06-26)
Code
Reproduction Steps
Expected Outcome
Private reexports should be documented (following reexport doc inline rules) when the
--document-private-itemsoption is enabled.Version
rustdoc 1.98.0-nightly (ce9954c0c 2026-06-26)