-
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
typestrong const integers #30587
Merged
Merged
typestrong const integers #30587
Commits on Mar 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7bde56e - Browse repository at this point
Copy the full SHA 7bde56eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d13231 - Browse repository at this point
Copy the full SHA 0d13231View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f11d9 - Browse repository at this point
Copy the full SHA 41f11d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee6003 - Browse repository at this point
Copy the full SHA 6ee6003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b15c7 - Browse repository at this point
Copy the full SHA 54b15c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bba1596 - Browse repository at this point
Copy the full SHA bba1596View commit details -
Configuration menu - View commit details
-
Copy full SHA for a48bd17 - Browse repository at this point
Copy the full SHA a48bd17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6992280 - Browse repository at this point
Copy the full SHA 6992280View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7003ed3 - Browse repository at this point
Copy the full SHA 7003ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4d6260 - Browse repository at this point
Copy the full SHA d4d6260View commit details -
break enum variant discriminant inference in case of 32-bit
`assert_eq!(-9223372036854775808isize as u64, 0x8000000000000000);` fails on 32 bit and succeeds on 64 bit. These commits don't change that behavior. The following worked before my changes, because the discriminant was always processed as `u64`. Now it fails, because the discriminant of `Bu64` is now `0` instead of `-9223372036854775808`. This is more in line with the above assertion's code, since `-9223372036854775808isize as u64` on 32 bit yielded `0`. ```rust enum Eu64 { Au64 = 0, Bu64 = 0x8000_0000_0000_0000 } ```
Configuration menu - View commit details
-
Copy full SHA for fcee002 - Browse repository at this point
Copy the full SHA fcee002View commit details
Commits on Mar 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 08c448a - Browse repository at this point
Copy the full SHA 08c448aView commit details
Commits on Mar 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for f665c39 - Browse repository at this point
Copy the full SHA f665c39View 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.