rust/tests/rustdoc-js-std
Michael Howell 28f17d97a9 rustdoc-search: make primitives and keywords less special
The search sorting code already sorts by item type discriminant,
putting things with smaller discriminants first. There was
also a special case for sorting keywords and primitives earlier,
and this commit removes it by giving them lower discriminants.

The sorting code has another criteria where items with descriptions
appear earlier than items without, and that criteria has higher
priority than the item type. This shouldn't matter, though,
because primitives and keywords normally only appear in the
standard library, and it always gives them descriptions.
2023-11-21 13:59:26 -07:00
..
alias-1.js
alias-2.js
alias-3.js
alias-4.js
alias.js
asrawfd.js
basic.js
bufread-fill-buf.js rustdoc-search: fix order-independence bug 2023-06-11 18:57:33 -07:00
deduplication.js
enum-option.js
filter-crate.js
fn-forget.js
from_u.js
full-path-function.js Add tests for type-based search 2023-09-01 15:16:11 +02:00
iterator-type-signatures.js rustdoc-search: add support for associated types 2023-11-19 18:54:36 -07:00
keyword.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
macro-check.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
macro-print.js
never.js rustdoc-search: search never type with ! 2023-06-12 17:30:23 -07:00
option-type-signatures.js rustdoc-search: fix bugs when unboxing and reordering combine 2023-09-09 16:58:37 -07:00
osstring-to-string.js rustdoc: add note about slice/array searches to help popup 2023-06-10 14:08:26 -07:00
parser-bindings.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-errors.js rustdoc-search: add support for associated types 2023-11-19 18:54:36 -07:00
parser-filter.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-generics.js Update rustdoc-js-std tests 2023-06-14 14:22:17 +02:00
parser-ident.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-literal.js
parser-paths.js
parser-quote.js Update rustdoc-js-std tests 2023-06-14 14:22:17 +02:00
parser-returned.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-separators.js Update rustdoc-js-std tests 2023-06-14 14:22:17 +02:00
parser-slice-array.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-weird-queries.js Update rustdoc-js-std tests 2023-06-14 14:22:17 +02:00
path-ordering.js
primitive.js
println-typo.js
quoted.js
reference-shrink.js
regex.js
return-specific-literal.js
return-specific.js
should-fail.js
simd-type-signatures.js rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
string-from_ut.js
struct-vec.js
typed-query.js
vec-new.js Add "vec new" test 2023-06-14 14:22:17 +02:00
vec-type-signatures.js rustdoc-search: fix bugs when unboxing and reordering combine 2023-09-09 16:58:37 -07:00