-
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
Revert "skip double negation in const eval" #34497
Conversation
This reverts commit 735c018.
@bors r+ |
📌 Commit b8f9c88 has been approved by |
Revert "skip double negation in const eval" This reverts commit 735c018. fixes rust-lang#34395 The original commit was based on a mis-understanding of the overflowing literal lint. This needs to be ported to beta. r? @eddyb
cc @rust-lang/compiler thoughts on backporting? Would love to include this in the next beta we should produce fairly soon |
+1 for packport |
Discussed with compiler team in email as well and sentiment was that this is small enough and important enough to backport, accepting for backport. |
Lgtm, the failure was most likely due to 16bit support missing. There was a conflict during reverting in this pr |
This reverts commit 735c018.
fixes #34395
The original commit was based on a mis-understanding of the overflowing literal lint.
This needs to be ported to beta.
r? @eddyb