-
Notifications
You must be signed in to change notification settings - Fork 13.4k
doc(inline)
overrides doc(hidden)
, but only for crates
#126796
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
ran into this bug as well today where structs and traits aren't hidden anymore when the use statement is inlined :/. |
Found the bug. Sending the fix. |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Aug 22, 2024
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Aug 22, 2024
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Aug 23, 2024
…es, r=notriddle Fix extern crates not being hidden with `doc(hidden)` Fixes rust-lang#126796. Only the current crate should never be stripped, any other crate should be strippable. r? `@notriddle`
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 23, 2024
Rollup merge of rust-lang#129414 - GuillaumeGomez:fix-doc-hidden-crates, r=notriddle Fix extern crates not being hidden with `doc(hidden)` Fixes rust-lang#126796. Only the current crate should never be stripped, any other crate should be strippable. r? ``@notriddle``
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Expected: empty documentation, as you would get with no items in the crate, or without #[doc(inline)] on the items.
Actual, as of rustdoc 1.70 through current nightly: the crate
std
is shown despite #[doc(hidden)]. The other 2 items are correctly not shown.The text was updated successfully, but these errors were encountered: