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

rustdoc: Missing inlining for doc(hidden) item #108908

Closed
GuillaumeGomez opened this issue Mar 8, 2023 · 1 comment
Closed

rustdoc: Missing inlining for doc(hidden) item #108908

GuillaumeGomez opened this issue Mar 8, 2023 · 1 comment
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

pub mod public {
    #[doc(hidden)]
    pub struct PubHidden;
}

pub use crate::public::PubHidden;

In here, crate::PubHidden should be inlined.

@GuillaumeGomez GuillaumeGomez added the C-bug Category: This is a bug. label Mar 8, 2023
@GuillaumeGomez GuillaumeGomez changed the title Missing inlining for doc(hidden) item rustdoc: Missing inlining for doc(hidden) item Mar 8, 2023
@GuillaumeGomez GuillaumeGomez self-assigned this Mar 8, 2023
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Mar 8, 2023
@GuillaumeGomez
Copy link
Member Author

GuillaumeGomez commented Mar 8, 2023

Nevermind, it should only be visible if the reexport has #[doc(inline)] as explained in #59368.

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

No branches or pull requests

1 participant