rust/src/librustdoc/html/render
Matthias Krüger 57f210400b
Rollup merge of #122495 - Manishearth:rustdoc-👻👻👻, r=GuillaumeGomez
Visually mark 👻hidden👻 items with document-hidden-items

Fixes #122485

This adds a 👻 in the item list (much like the 🔒 used for private items), and also shows `#[doc(hidden)]` in the code view, where `pub(crate)` etc gets shown for private items.

This does not do anything for enum variants, if people have ideas. I think we can just show the attribute.
2024-03-15 21:51:56 +01:00
..
context.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
mod.rs Rollup merge of #122495 - Manishearth:rustdoc-👻👻👻, r=GuillaumeGomez 2024-03-15 21:51:56 +01:00
print_item.rs fix polarity 2024-03-14 15:08:16 +01:00
search_index.rs rustdoc-search: parse and search with ML-style HOF 2024-03-11 21:22:03 -07:00
sidebar.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
span_map.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
tests.rs Corrected imports for render tests and mod files 2021-03-04 10:25:00 -08:00
type_layout.rs clippy::complexity fixes 2023-12-12 19:28:13 +01:00
write_shared.rs rustdoc: trait.impl, type.impl: sort impls to make it not depend on serialization order 2024-02-04 16:44:37 +03:00