-
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
Preliminary cleanup of WitnessPat
hoisting/printing
#128536
Merged
Merged
Commits on Aug 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ccfd94e - Browse repository at this point
Copy the full SHA ccfd94eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74f76ae - Browse repository at this point
Copy the full SHA 74f76aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd8005 - Browse repository at this point
Copy the full SHA 4cd8005View commit details -
Configuration menu - View commit details
-
Copy full SHA for e98e19e - Browse repository at this point
Copy the full SHA e98e19eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f48851 - Browse repository at this point
Copy the full SHA 7f48851View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ed6fb - Browse repository at this point
Copy the full SHA a5ed6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c764bea - Browse repository at this point
Copy the full SHA c764beaView commit details -
Simplify hoisting of array/slice patterns
We can replace some tricky iterator-mutation code with a much simpler version that uses `while let` to shrink a slice. We also check whether a subpattern would be a wildcard _before_ hoisting it, which will be very useful when trying to get rid of `print::PatKind` later.
Configuration menu - View commit details
-
Copy full SHA for a245bfa - Browse repository at this point
Copy the full SHA a245bfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 582208b - Browse repository at this point
Copy the full SHA 582208bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29245ec - Browse repository at this point
Copy the full SHA 29245ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 482412c - Browse repository at this point
Copy the full SHA 482412cView 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.