-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Implement RFC495 semantics for slice patterns #32202
Merged
Merged
Commits on Jun 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 719a591 - Browse repository at this point
Copy the full SHA 719a591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c5930e - Browse repository at this point
Copy the full SHA 0c5930eView commit details
Commits on Jun 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 70c25c8 - Browse repository at this point
Copy the full SHA 70c25c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 088b7e2 - Browse repository at this point
Copy the full SHA 088b7e2View commit details -
implement RFC495 semantics for slice patterns
non-MIR translation is still not supported for these and will happily ICE. This is a [breaking-change] for many uses of slice_patterns.
Configuration menu - View commit details
-
Copy full SHA for 5c717a6 - Browse repository at this point
Copy the full SHA 5c717a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a614f8 - Browse repository at this point
Copy the full SHA 1a614f8View commit details -
handle string literals correctly in match checking
The root of the problem is that a string literal pattern is essentially of the form `&LITERAL`, in a single block, while match checking wants to split that. To fix that, I added a type field to the patterns in match checking, which allows us to distinguish between a full and split pattern. That file is ugly and needs to be cleaned. However, `trans::_match` calls it, so I think we should delay the cleanup until we kill that. Fixes rust-lang#30240
Configuration menu - View commit details
-
Copy full SHA for 5af5f26 - Browse repository at this point
Copy the full SHA 5af5f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac3b46 - Browse repository at this point
Copy the full SHA 8ac3b46View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2100cc - Browse repository at this point
Copy the full SHA b2100ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for a673ced - Browse repository at this point
Copy the full SHA a673cedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf4139 - Browse repository at this point
Copy the full SHA 5cf4139View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcabfa9 - Browse repository at this point
Copy the full SHA fcabfa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b1abf5 - Browse repository at this point
Copy the full SHA 9b1abf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0174fc - Browse repository at this point
Copy the full SHA f0174fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de6ea7 - Browse repository at this point
Copy the full SHA 2de6ea7View 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.