Skip to content

Fix TryFrom for i128/u128#39408

Merged
bors merged 1 commit into
rust-lang:masterfrom
ollie27:i128_try_from
Feb 5, 2017
Merged

Fix TryFrom for i128/u128#39408
bors merged 1 commit into
rust-lang:masterfrom
ollie27:i128_try_from

Conversation

@ollie27

@ollie27 ollie27 commented Jan 30, 2017

Copy link
Copy Markdown
Contributor

Another case of as cast silent truncation being error prone.

This also adds a few missing TryFrom tests to libcoretest.

cc #33417
cc #35118

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@sfackler

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jan 30, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 8fad6cf has been approved by sfackler

@bors

bors commented Jan 31, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 8fad6cf with merge e92e317...

@bors

bors commented Jan 31, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@bors

bors commented Feb 4, 2017

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #39463) made this pull request unmergeable. Please resolve the merge conflicts.

@sfackler

sfackler commented Feb 4, 2017

Copy link
Copy Markdown
Member

Needs a rebase

Another case of `as` cast silent truncation being error prone.

This also adds a few missing TryFrom tests to libcoretest.
@ollie27

ollie27 commented Feb 4, 2017

Copy link
Copy Markdown
Contributor Author

I've rebased and also removed the i128/u128 tests from libcoretest as apparently they won't work on emscripten.

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

Thanks!

@bors

bors commented Feb 4, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit a2de6e2 has been approved by alexcrichton

@bors

bors commented Feb 5, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit a2de6e2 with merge fc02736...

bors added a commit that referenced this pull request Feb 5, 2017
Fix TryFrom for i128/u128

Another case of `as` cast silent truncation being error prone.

This also adds a few missing TryFrom tests to libcoretest.

cc #33417
cc #35118
@bors

bors commented Feb 5, 2017

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing fc02736 to master...

@bors bors merged commit a2de6e2 into rust-lang:master Feb 5, 2017
@ollie27 ollie27 deleted the i128_try_from branch February 5, 2017 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants