rustdoc-json: Dangling ID for trait impl with pub struct in #[doc(hidden)]
mod
#112852
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
The right thing to do would be to strip the impl, as the struct isn't reachable. We do this correctly if the
#[doc(hidden)]
is on the structWhen this is fixed, we should add tests for these 2 cases, them with a
pub use
of the struct, them with--document-hidden-items
, and them with--document-hidden-items
and a pub use.The text was updated successfully, but these errors were encountered: