Skip to content

Invalid missing documentation for reexported item #108570

Open
@GuillaumeGomez

Description

@GuillaumeGomez

Example:

mod priv_mod {
    pub struct Foo;
}

#[doc(hidden)]
pub use priv_mod::Foo;

With this code, we get:

error: missing documentation for a struct

Whereas we shouldn't since Foo is hidden.

Metadata

Metadata

Labels

C-bugCategory: This is a bug.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