]> git.lizzy.rs Git - rust.git/commit
Auto merge of #39408 - ollie27:i128_try_from, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 5 Feb 2017 16:57:29 +0000 (16:57 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Feb 2017 16:57:29 +0000 (16:57 +0000)
commitfc02736d59252fe408dd6c2f7e2c4b6f229e4443
treea5b61777e069dac44c179cba88a836166639a8c9
parent9c8cdb2923a69177017165a4cdb0e1ea673fc49f
parenta2de6e22858a02cfcf6bfc18ff40ebb163ebb07c
Auto merge of #39408 - ollie27:i128_try_from, r=alexcrichton

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