-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fix TryFrom for i128/u128 #39408
Fix TryFrom for i128/u128 #39408
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 8fad6cf has been approved by |
⌛ Testing commit 8fad6cf with merge e92e317... |
💔 Test failed - status-travis |
☔ The latest upstream changes (presumably #39463) made this pull request unmergeable. Please resolve the merge conflicts. |
Needs a rebase |
Another case of `as` cast silent truncation being error prone. This also adds a few missing TryFrom tests to libcoretest.
8fad6cf
to
a2de6e2
Compare
I've rebased and also removed the |
@bors: r+ Thanks! |
📌 Commit a2de6e2 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Another case of
as
cast silent truncation being error prone.This also adds a few missing TryFrom tests to libcoretest.
cc #33417
cc #35118