about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-01-12 15:32:08 -0700
committerMichael Howell <michael@notriddle.com>2024-04-08 17:07:14 -0700
commitf36c5af359319741f24a94c55bba021f6146efec (patch)
treebce06b08fb9c197cb97161276923c07e016a95b2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentab5bda1aa70f707014e2e691e43bc37a8819252a (diff)
downloadrust-f36c5af359319741f24a94c55bba021f6146efec.tar.gz
rust-f36c5af359319741f24a94c55bba021f6146efec.zip
rustdoc-search: single result for items with multiple paths
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions