about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
AgeCommit message (Collapse)AuthorLines
2023-11-29rustdoc-search: replace TAB/NL/LF with SP firstMichael Howell-0/+9
This way, most of the parsing code doesn't need to be designed to handle it, since they should always be treated exactly the same anyhow.
2023-11-29rustdoc-search: removed dead parser codeMichael Howell-0/+9
This is already covered by the normal unexpected char path.
2023-11-29rustdoc-search: allow `:: ` and ` ::`Michael Howell-18/+9
This restriction made sense back when spaces separated function parameters, but now that they separate path components, there's no real ambiguity any more. Additionally, the Rust language allows it.
2023-11-19rustdoc-search: add support for associated typesMichael Howell-1/+1
2023-06-14Fix eBNF and handling of whitespace characters when not in a pathGuillaume Gomez-1/+105
2023-06-14Update rustdoc-js-std testsGuillaume Gomez-21/+75
2023-06-12rustdoc-search: search never type with `!`Michael Howell-0/+9
This feature extends rustdoc to support the syntax that most users will naturally attempt to use to search for diverging functions. Part of #60485 It's already possible to do this search with `primitive:never`, but that's not what the Rust language itself uses, so nobody will try it if they aren't told or helped along.
2023-06-09Update rustdoc-js* formatGuillaume Gomez-45/+42
2023-03-20rustdoc: add support for type filters in arguments and genericsMichael Howell-45/+13
This makes sense, since the search index has the information in it, and it's more useful for function signature searches since a function signature search's item type is, by definition, some type of function (there's more than one, but not very many).
2023-03-03Add test for unclosed genericGuillaume Gomez-0/+10
2023-03-02Add GUI test for rustdoc search errors backgroundGuillaume Gomez-2/+2
2023-02-16rustdoc: search by macro when query ends with `!`Michael Howell-0/+20
Related to #96399
2023-01-11Move /src/test to /testsAlbert Larsan-0/+385