]> git.lizzy.rs Git - rust.git/commit
Auto merge of #58302 - SimonSapin:tryfrom, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 25 Feb 2019 20:24:10 +0000 (20:24 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 Feb 2019 20:24:10 +0000 (20:24 +0000)
commit00aae71f503b1ab592f48de47dd30912f3858748
tree6a467dcb6c86ff08496ce29b1da9eaabc92538ac
parentb57fe74a27590289fd657614b8ad1f3eac8a7ad2
parentcf267540ebabdeac1f2045819cd6bac561017e29
Auto merge of #58302 - SimonSapin:tryfrom, r=alexcrichton

Stabilize TryFrom and TryInto with a convert::Infallible empty enum

This is the plan proposed in https://github.com/rust-lang/rust/issues/33417#issuecomment-423073898
src/libcore/convert.rs
src/libcore/num/mod.rs
src/libcore/tests/lib.rs
src/librustc_mir/lib.rs
src/libstd/error.rs
src/libstd/lib.rs
src/libstd/path.rs