rust/src/librustdoc/formats
bors e3181b091e Auto merge of #119912 - notriddle:notriddle/reexport-dedup, r=GuillaumeGomez
rustdoc-search: single result for items with multiple paths

Part of #15723

Preview: https://notriddle.com/rustdoc-html-demo-9/reexport-dup/std/index.html?search=hashmap

This change uses the same "exact" paths as trait implementors and type alias inlining to track items with multiple reachable paths. This way, if you search for `vec`, you get only the `std` exports of it, and not the one from `alloc`.

It still includes all the items in the search index so that you can search for them by all available paths. For example, try `core::option` and `std::option`, and notice that the results page doesn't show duplicates, but still shows all the items in their respective crates.
2024-04-18 21:23:15 +00:00
..
cache.rs Auto merge of #119912 - notriddle:notriddle/reexport-dedup, r=GuillaumeGomez 2024-04-18 21:23:15 +00:00
item_type.rs Change `DefKind::Static` to a struct variant 2024-03-12 05:53:46 +00:00
mod.rs rustdoc: Move `AssocItemRender` and `RenderMode` to `html::render`. 2023-11-29 00:56:47 +00:00
renderer.rs Remove unneeded `unknown` variable and `Symbol` creation when iterating over items in rustdoc rendering 2023-11-18 23:05:30 +01:00