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
deduplication.js
enum-option.js
filter-crate.js
fn-forget.js
from_u.js
full-path-function.js
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
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
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
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
parser-returned.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-separators.js
parser-slice-array.js rustdoc-search: make primitives and keywords less special 2023-11-21 13:59:26 -07:00
parser-weird-queries.js
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
vec-type-signatures.js rustdoc-search: fix bugs when unboxing and reordering combine 2023-09-09 16:58:37 -07:00