-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 6 pull requests #118432
Rollup of 6 pull requests #118432
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e8ad387 - Browse repository at this point
Copy the full SHA e8ad387View commit details -
When parsing patterns, bubble all errors except reserved idents that …
…aren't likely to appear in for head or match arm
Configuration menu - View commit details
-
Copy full SHA for 9cd0521 - Browse repository at this point
Copy the full SHA 9cd0521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 128cca3 - Browse repository at this point
Copy the full SHA 128cca3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa7074c - Browse repository at this point
Copy the full SHA aa7074cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6b6f5d - Browse repository at this point
Copy the full SHA d6b6f5dView commit details -
Account for
(pat if expr) => {}
When encountering match arm (pat if expr) => {}, recover and suggest removing parentheses. Fix rust-lang#100825.
Configuration menu - View commit details
-
Copy full SHA for 1a61ee7 - Browse repository at this point
Copy the full SHA 1a61ee7View commit details -
Change how
for (x in foo) {}
is handledUse the same approach used for match arm patterns.
Configuration menu - View commit details
-
Copy full SHA for 0bc1aee - Browse repository at this point
Copy the full SHA 0bc1aeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fd6256 - Browse repository at this point
Copy the full SHA 7fd6256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48576ce - Browse repository at this point
Copy the full SHA 48576ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ae5b7c - Browse repository at this point
Copy the full SHA 9ae5b7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22fc51f - Browse repository at this point
Copy the full SHA 22fc51fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b5981 - Browse repository at this point
Copy the full SHA b4b5981View commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a816267 - Browse repository at this point
Copy the full SHA a816267View commit details
Commits on Nov 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a356464 - Browse repository at this point
Copy the full SHA a356464View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecccf33 - Browse repository at this point
Copy the full SHA ecccf33View commit details -
Print list of missing target features when calling a function with ta…
…rget features outside an unsafe block
Configuration menu - View commit details
-
Copy full SHA for 51ba662 - Browse repository at this point
Copy the full SHA 51ba662View commit details
Commits on Nov 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e0bfb61 - Browse repository at this point
Copy the full SHA e0bfb61View commit details -
thir-unsafeck: print list of missing target features when calling a f…
…unction with target features outside an unsafe block
Configuration menu - View commit details
-
Copy full SHA for 6b066a9 - Browse repository at this point
Copy the full SHA 6b066a9View commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a3838c8 - Browse repository at this point
Copy the full SHA a3838c8View commit details -
Rollup merge of rust-lang#117565 - estebank:issue-100825, r=Nilstrieb
Tweak parsing recovery of enums, for exprs and match arm patterns Tweak recovery of `for (pat in expr) {}` for more accurate spans. When encountering `match` arm `(pat if expr) => {}`, recover and suggest removing parentheses. Fix rust-lang#100825. When encountering malformed enums, try more localized per-variant parse recovery. Move parser recovery tests to subdirectory.
Configuration menu - View commit details
-
Copy full SHA for a76582e - Browse repository at this point
Copy the full SHA a76582eView commit details -
Rollup merge of rust-lang#117912 - GeorgeWort:master, r=petrochenkov
Name explicit registers in conflict register errors for inline assembly
Configuration menu - View commit details
-
Copy full SHA for 97dfcc6 - Browse repository at this point
Copy the full SHA 97dfcc6View commit details -
Rollup merge of rust-lang#118157 - Nadrieril:never_pat-feature-gate, …
…r=compiler-errors Add `never_patterns` feature gate This PR adds the feature gate and most basic parsing for the experimental `never_patterns` feature. See the tracking issue (rust-lang#118155) for details on the experiment. `@scottmcm` has agreed to be my lang-team liaison for this experiment.
Configuration menu - View commit details
-
Copy full SHA for da1f9d4 - Browse repository at this point
Copy the full SHA da1f9d4View commit details -
Rollup merge of rust-lang#118231 - RalfJung:const-raw-slice-empty, r=…
…cuviper also add is_empty to const raw slices We have this on mutable raw slices but not const raw slices, which makes little sense. Cc rust-lang#71146
Configuration menu - View commit details
-
Copy full SHA for f0d9e4f - Browse repository at this point
Copy the full SHA f0d9e4fView commit details -
Rollup merge of rust-lang#118268 - compiler-errors:pretty-print, r=es…
…tebank Pretty print `Fn<(..., ...)>` trait refs with parentheses (almost) always It's almost always better, at least in diagnostics, to print `Fn(i32, u32)` instead of `Fn<(i32, u32)>`. Related to but doesn't fix rust-lang#118225. That needs a separate fix.
Configuration menu - View commit details
-
Copy full SHA for d538d16 - Browse repository at this point
Copy the full SHA d538d16View commit details -
Rollup merge of rust-lang#118333 - eduardosm:print-missing-target-fea…
…tures, r=est31 Print list of missing target features when calling a function with target features outside an unsafe block Fixes rust-lang#108680 Supersedes rust-lang#109710. I used the same wording for the messages, but the implementation is different. r? `@est31`
Configuration menu - View commit details
-
Copy full SHA for 3cd61b2 - Browse repository at this point
Copy the full SHA 3cd61b2View commit details