rust/tests/rustdoc-js
Michael Howell f36c5af359 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.
2024-04-08 17:07:14 -07:00
..
auxiliary rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
assoc-type-backtrack.js
assoc-type-backtrack.rs
assoc-type-loop.js
assoc-type-loop.rs
assoc-type.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
assoc-type.rs
basic.js
basic.rs
big-result.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
big-result.rs rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
doc-alias-filter-out.js
doc-alias-filter-out.rs
doc-alias-filter.js
doc-alias-filter.rs
doc-alias-whitespace.js
doc-alias-whitespace.rs
doc-alias.js
doc-alias.rs
enum-variant-not-type.js rustdoc-search: do not treat associated type names as types 2023-12-10 16:52:21 -07:00
enum-variant-not-type.rs rustdoc-search: do not treat associated type names as types 2023-12-10 16:52:21 -07:00
exact-match.js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
exact-match.rs
foreign-type-path.js
foreign-type-path.rs
full-path-function.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
full-path-function.rs
gat.js
gat.rs
generics2.js
generics2.rs
generics-impl.js
generics-impl.rs
generics-match-ambiguity.js
generics-match-ambiguity.rs
generics-multi-trait.js
generics-multi-trait.rs
generics-nested.js
generics-nested.rs
generics-trait.js
generics-trait.rs
generics-unbox.js
generics-unbox.rs
generics.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
generics.rs
hof.js rustdoc-search: add search query syntax Fn(T) -> U 2024-03-11 22:27:22 -07:00
hof.rs rustdoc-search: parse and search with ML-style HOF 2024-03-11 21:22:03 -07:00
impl-trait.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
impl-trait.rs
looks-like-rustc-interner.js rustdoc-search: stress test for associated types 2024-03-11 09:20:49 -07:00
looks-like-rustc-interner.rs rustdoc-search: stress test for associated types 2024-03-11 09:20:49 -07:00
macro-search.js
macro-search.rs
module-substring.js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
module-substring.rs
nested-unboxed.js
nested-unboxed.rs
never-search.js
never-search.rs
path-maxeditdistance.js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
path-maxeditdistance.rs rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
path-ordering.js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
path-ordering.rs rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
primitive.js
primitive.rs
prototype.js
prototype.rs
raw-pointer.js
raw-pointer.rs
reexport-dedup-macro.js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport-dedup-macro.rs rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport-dedup-method.js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport-dedup-method.rs rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport-dedup.js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport-dedup.rs rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
reexport.js
reexport.rs rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
search-bag-semantics.js
search-bag-semantics.rs
search-method-disambiguate.js
search-method-disambiguate.rs
search-non-local-trait-impl.js
search-non-local-trait-impl.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
search-short-types.js
search-short-types.rs
slice-array.js
slice-array.rs
struct-like-variant.js
struct-like-variant.rs
substring.js rustdoc-search: remove parallel searchWords array 2023-12-15 16:26:35 -07:00
substring.rs rustdoc-search: remove parallel searchWords array 2023-12-15 16:26:35 -07:00
summaries.js
summaries.rs
trait-methods.js
trait-methods.rs
tuple-unit.js rustdoc: search for tuples and unit by type with () 2023-12-26 12:54:17 -07:00
tuple-unit.rs rustdoc: search for tuples and unit by type with () 2023-12-26 12:54:17 -07:00
type-parameters.js rustdoc-search: use set ops for ranking and filtering 2023-12-13 10:37:15 -07:00
type-parameters.rs
where-clause.js
where-clause.rs