-
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
Tweak parsing recovery of enums, for exprs and match arm patterns #117565
Merged
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 44fd3b4 - Browse repository at this point
Copy the full SHA 44fd3b4View 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 ed084a9 - Browse repository at this point
Copy the full SHA ed084a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 075c599 - Browse repository at this point
Copy the full SHA 075c599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1994abe - Browse repository at this point
Copy the full SHA 1994abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for db39068 - Browse repository at this point
Copy the full SHA db39068View 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 c473189 - Browse repository at this point
Copy the full SHA c473189View 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 0ff331b - Browse repository at this point
Copy the full SHA 0ff331bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1feb8 - Browse repository at this point
Copy the full SHA bd1feb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 147faa5 - Browse repository at this point
Copy the full SHA 147faa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1575e6e - Browse repository at this point
Copy the full SHA 1575e6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e52438 - Browse repository at this point
Copy the full SHA 4e52438View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb08634 - Browse repository at this point
Copy the full SHA cb08634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88453aa - Browse repository at this point
Copy the full SHA 88453aaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.