-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Hidden items in external crate are made public when inline glob re-exported #53417
Comments
I just used this sample with the latest nightly ( |
This is still an issue. I've updated the description with a complete, working example, as well as a workaround that points to the root of the issue ( |
As a matter of update: this is unfortunately still an issue. |
Should be fixed by #109697. |
Consider a crate
parent
with the following items:where
module.rs
contains:Now consider a crate
foo
that inline, glob-exportsparent
in a modulepar
:The item
Hidden
is rendered in the rustdocs forfoo::par
when it shouldn't be.To work around this issue,
#[doc(hidden)]
can be applied to theHidden
item inmodule.rs
:This workaround only works when
#[doc(hidden)]
is applied to the source definition.cc @QuietMisdreavus
The text was updated successfully, but these errors were encountered: