-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc-json: Dangling ID when pub use
ing item from #[doc(hidden)]
module
#117718
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
Comments
pub use
ing item from #[doc(hidden)]
modulepub use
ing item from #[doc(hidden)]
module
Do you plan to work on it? Otherwise I'll do it in the next days. |
Go ahead, I'd be happy to review |
Thanks in advance then. :) |
So there seems to have multiple issues around reexports in the JSON output format. For example: pub mod submodule {
#[doc(hidden)]
pub struct Hidden {}
}
pub use submodule::Hidden as UsedHidden; Neither |
From what I can see, we simply keep (some) private items around, I suppose we should do the same with |
With the following code:
It has a dangling ID:
As it has the following json (redacted)
In HTML,
Foo
is inlined to the crate root.Version: 28acba3
The text was updated successfully, but these errors were encountered: