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 Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
alias-2.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
alias-3.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
alias-4.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
alias.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
asrawfd.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
basic.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
bufread-fill-buf.js rustdoc-search: fix order-independence bug 2023-06-11 18:57:33 -07:00
deduplication.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
enum-option.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
filter-crate.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
fn-forget.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
from_u.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
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 Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
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 Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
parser-paths.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
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 Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
primitive.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
println-typo.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
quoted.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
reference-shrink.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
regex.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
return-specific-literal.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
return-specific.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
should-fail.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
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 Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
struct-vec.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
typed-query.js Update rustdoc-js* format 2023-06-09 17:00:47 +02:00
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