-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 5 pull requests #96263
Rollup of 5 pull requests #96263
Commits on Apr 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be41750 - Browse repository at this point
Copy the full SHA be41750View commit details -
Update search engine and parser to error when quotes are used on quer…
…ies with more than one element.
Configuration menu - View commit details
-
Copy full SHA for 3aeef67 - Browse repository at this point
Copy the full SHA 3aeef67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f51652 - Browse repository at this point
Copy the full SHA 0f51652View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cefee0 - Browse repository at this point
Copy the full SHA 7cefee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5833e7 - Browse repository at this point
Copy the full SHA f5833e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbcf176 - Browse repository at this point
Copy the full SHA bbcf176View commit details -
* If type filter is in quotes, throw an error.
* If there are generics, don't allow to have quotes.
Configuration menu - View commit details
-
Copy full SHA for 51de26c - Browse repository at this point
Copy the full SHA 51de26cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99c5394 - Browse repository at this point
Copy the full SHA 99c5394View commit details -
* Greatly improve the rustdoc search parser source code
* Move all functions outside parseQuery
Configuration menu - View commit details
-
Copy full SHA for 264064d - Browse repository at this point
Copy the full SHA 264064dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d5520 - Browse repository at this point
Copy the full SHA 99d5520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4929733 - Browse repository at this point
Copy the full SHA 4929733View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7de1a1 - Browse repository at this point
Copy the full SHA c7de1a1View commit details -
* Forbid generics without a path (so "<p>" is forbidden). * Change `handleSingleArg` so that it takes `results_others`, `results_in_args` and `results_returned` as arguments instead of using the "global" variables. * Change `createQueryElement` so that it returns the newly created element instead of taking `elems` as argument. * Improve documentation
Configuration menu - View commit details
-
Copy full SHA for 699ae36 - Browse repository at this point
Copy the full SHA 699ae36View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9251ee - Browse repository at this point
Copy the full SHA f9251eeView commit details -
Add isIdentCharacter function to ensure that unexpected characters ar…
…e handled correctly
Configuration menu - View commit details
-
Copy full SHA for 8e29ed4 - Browse repository at this point
Copy the full SHA 8e29ed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5c4c2 - Browse repository at this point
Copy the full SHA 1f5c4c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for da829d8 - Browse repository at this point
Copy the full SHA da829d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e03a950 - Browse repository at this point
Copy the full SHA e03a950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b4005 - Browse repository at this point
Copy the full SHA 51b4005View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9cf32 - Browse repository at this point
Copy the full SHA ab9cf32View commit details -
Remove unnecessary
elem.name.length === 0
since the rustdoc search ……eBNF does not allow elements without a name
Configuration menu - View commit details
-
Copy full SHA for a6051c7 - Browse repository at this point
Copy the full SHA a6051c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f35475 - Browse repository at this point
Copy the full SHA 6f35475View commit details -
Configuration menu - View commit details
-
Copy full SHA for da363b2 - Browse repository at this point
Copy the full SHA da363b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d538a - Browse repository at this point
Copy the full SHA d7d538aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 299e8ee - Browse repository at this point
Copy the full SHA 299e8eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c6c1e1 - Browse repository at this point
Copy the full SHA 5c6c1e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d0e10c - Browse repository at this point
Copy the full SHA 8d0e10cView commit details
Commits on Apr 19, 2022
-
Remove assertion that all paths in
ShouldRun
existThis breaks on submodules (see rust-lang#96188). Disable the assertion for now until I can think of a proper fix. This doesn't revert any of the changes in `Step`s themselves, only what `ShouldRun::paths` does.
Configuration menu - View commit details
-
Copy full SHA for b4ca065 - Browse repository at this point
Copy the full SHA b4ca065View commit details -
[fuchsia] Add implementation for
current_exe
This implementation returns a best attempt at the current exe path. On fuchsia, fdio will always use `argv[0]` as the process name and if it is not set then an error will be returned. Because this is not guaranteed to be the case, this implementation returns an error if `argv` does not contain any elements.
David Koloski committedApr 19, 2022 Configuration menu - View commit details
-
Copy full SHA for eb6b6a8 - Browse repository at this point
Copy the full SHA eb6b6a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 671a872 - Browse repository at this point
Copy the full SHA 671a872View commit details
Commits on Apr 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4879875 - Browse repository at this point
Copy the full SHA 4879875View commit details -
Add an explicit
Span
field toOutlivesConstraint
Previously, we would retrieve the span from the `Body` using the `locations` field. However, we may end up changing the `locations` field when moving a constraint from a promoted to a different body. We now store the original `Span` in a dedication field, so that changes to the `locations` do not affect the quality of our diagnostics.
Configuration menu - View commit details
-
Copy full SHA for 611a06a - Browse repository at this point
Copy the full SHA 611a06aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d26bde - Browse repository at this point
Copy the full SHA 4d26bdeView commit details -
Rollup merge of rust-lang#90630 - GuillaumeGomez:improve-rustdoc-sear…
…ch, r=notriddle Create real parser for search queries You can test it [here](https://rustdoc.crud.net/imperio/improve-rustdoc-search/std/index.html). This PR adds a real parser for the query engine in rustdoc. The parser is quite simple but it allows to makes query handling much easier. I added a new testsuite to ensure it works as expected and ran fuzzing checks on it for a few hours without problems. So about the parser: as you can see in the screenshot, it handles recursive generics parsing. It also allows to set which item should use exact matching by adding double-quotes around it (look for `exact_search` in the screenshot). Now about the query engine itself: I simplified it a lot thanks to the parsed query. It behaves mostly the same when there is only one argument, but is much more powerful when there are more than one. When making this change, we also removed the support for multi-query. PS: A big part of the PR is tests and test-related code. :) r? `@camelid`
Configuration menu - View commit details
-
Copy full SHA for 976c6b2 - Browse repository at this point
Copy the full SHA 976c6b2View commit details -
Rollup merge of rust-lang#96193 - djkoloski:fuchsia_current_exe, r=tm…
…andry [fuchsia] Add implementation for `current_exe` This implementation returns a best attempt at the current exe path. On fuchsia, fdio will always use `argv[0]` as the process name and if it is not set then an error will be returned. Because this is not guaranteed to be the case, this implementation returns an error if `argv` does not contain any elements.
Configuration menu - View commit details
-
Copy full SHA for 1e43aae - Browse repository at this point
Copy the full SHA 1e43aaeView commit details -
Rollup merge of rust-lang#96196 - jyn514:no-assertion, r=Mark-Simulacrum
Remove assertion that all paths in `ShouldRun` exist This breaks on submodules (see rust-lang#96188). Disable the assertion for now until I can think of a proper fix. This doesn't revert any of the changes in `Step`s themselves, only what `ShouldRun::paths` does.
Configuration menu - View commit details
-
Copy full SHA for 0179aac - Browse repository at this point
Copy the full SHA 0179aacView commit details -
Rollup merge of rust-lang#96228 - mbartlett21:patch-4, r=thomcc
Fix locations for intrinsics impls and change to links These still referred to `rustc_mir`.
Configuration menu - View commit details
-
Copy full SHA for e2543d7 - Browse repository at this point
Copy the full SHA e2543d7View commit details -
Rollup merge of rust-lang#96236 - Aaron1011:constraint-debug, r=jackh726
Add an explicit `Span` field to `OutlivesConstraint` Previously, we would retrieve the span from the `Body` using the `locations` field. However, we may end up changing the `locations` field when moving a constraint from a promoted to a different body. We now store the original `Span` in a dedication field, so that changes to the `locations` do not affect the quality of our diagnostics.
Configuration menu - View commit details
-
Copy full SHA for 463c94a - Browse repository at this point
Copy the full SHA 463c94aView commit details