Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid missing documentation for reexported item #108570

Open
GuillaumeGomez opened this issue Feb 28, 2023 · 0 comments
Open

Invalid missing documentation for reexported item #108570

GuillaumeGomez opened this issue Feb 28, 2023 · 0 comments
Assignees
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@GuillaumeGomez
Copy link
Member

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.

@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Feb 28, 2023
@GuillaumeGomez GuillaumeGomez self-assigned this Feb 28, 2023
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Mar 15, 2023
Update UI test with new output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant