bors 3312a3053b Auto merge of #109802 - notriddle:notriddle/rustdoc-search-generics-nested, r=GuillaumeGomez
rustdoc-search: add support for nested generics

This change allows `search.js` to parse nested generics (which look `Like<This<Example>>`) and match them. It maintains the existing "bag semantics", so that the order of type parameters is ignored but the number is required to be greater than or equal to what's in the query.

For example, a function with the signature `fn read_all(&mut self: impl Read) -> Result<Vec<u8>, Error>` will match these queries:

* `Read -> Result<Vec<u8>, Error>`
* `Read -> Result<Error, Vec>`
* `Read -> Result<Vec<u8>>`

But it *does not* match `Result<Vec, u8>` or `Result<u8<Vec>>`.
2023-04-15 02:23:32 +00:00
..
2023-04-10 13:00:46 -04:00
2023-02-13 12:01:05 -05:00
2023-03-27 13:00:59 -04:00
2023-04-10 13:00:46 -04:00
2023-04-10 13:00:46 -04:00
2023-04-12 15:16:25 +08:00
2023-04-10 13:00:46 -04:00
2023-04-10 21:02:49 +02:00
2023-02-24 13:21:02 -05:00