rust/tests
bors 3ec4b3bc8c Auto merge of #115436 - GuillaumeGomez:fix-type-based-search, r=notriddle
[rustdoc] Fix type based search

Fixes https://github.com/rust-lang/rust/issues/114522.

The problem was a bit more tricky than I originally thought it would be: we only kept type ID and generics in short, but as soon as there was a full path in the user query, the element didn't get an ID anymore because the ID map didn't know about `x::y` (although it knew about `y`). So for this first problem, I instead always pass the element name to get the ID.

Then a new problem occurred: we actually needed to check if paths matched, otherwise whatever the path, as long as the "end types" match, it's all good. meaning, we needed to add path information, but to do so, we needed it to be added into the search index directly as there was no mapping between `"p"` and `"q"`.

I hope this explanation makes sense to someone else than me. ^^'

r? `@notriddle`
2023-09-03 01:52:15 +00:00
..
assembly
auxiliary
codegen Auto merge of #115273 - the8472:take-fold, r=cuviper 2023-09-02 12:40:16 +00:00
codegen-units
debuginfo
incremental
mir-opt update tests that are ignored by debug 2023-09-01 04:01:54 +08:00
pretty
run-coverage update tests that are ignored by debug 2023-09-01 04:01:54 +08:00
run-coverage-rustdoc
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc Auto merge of #115286 - saethlin:detangler, r=petrochenkov 2023-09-02 04:53:19 +00:00
rustdoc-gui Migrate GUI colors test to original CSS color format 2023-09-02 21:00:23 +02:00
rustdoc-js Correctly handle paths from foreign items 2023-09-02 23:04:37 +02:00
rustdoc-js-std Add tests for type-based search 2023-09-01 15:16:11 +02:00
rustdoc-json
rustdoc-ui
ui Auto merge of #115429 - compiler-errors:assoc-ct-lt-fallthrough, r=cjgillot 2023-09-02 10:55:49 +00:00
ui-fulldeps
COMPILER_TESTS.md