-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: Don't inline #[doc(hidden)] pub use #34232
Conversation
Currently if a `#[doc(hidden)] pub use` item is inlined the `hidden` attribute is ignored so the item can appear in the docs. By never inlining such imports, they can be stripped.
(rust_highfive has picked a reviewer for you, use r? to override) |
👍 |
⌛ Testing commit a7c4674 with merge 3cf2eea... |
💔 Test failed - auto-win-gnu-64-nopt-t |
gcc had a |
@bors: retry On Mon, Jun 13, 2016 at 2:57 AM, Peter Atashian [email protected]
|
rustdoc: Don't inline #[doc(hidden)] pub use Currently if a `#[doc(hidden)] pub use` item is inlined the `hidden` attribute is ignored so the item can appear in the docs. By never inlining such imports, they can be stripped. An example in `std` is [`__OsLocalKeyInner`](https://doc.rust-lang.org/nightly/std/thread/struct.__OsLocalKeyInner.html) which clearly should not be documented.
Currently if a
#[doc(hidden)] pub use
item is inlined thehidden
attribute is ignored so the item can appear in the docs. By never inlining
such imports, they can be stripped.
An example in
std
is__OsLocalKeyInner
which clearly should not be documented.