diff options
| author | bors <bors@rust-lang.org> | 2016-05-08 07:04:17 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-05-08 07:04:17 -0700 |
| commit | cae42a471c13eec8a6470d0845f46f1606d50742 (patch) | |
| tree | faffb306c666f3e4ff851eca16ea5baf85dcdea9 /src/libstd/error.rs | |
| parent | 8e414e0e3f27d1917d11ee80de827698beb53891 (diff) | |
| parent | cc98f4cbb09d0165dcca18664d1fe10cb39a5dfa (diff) | |
| download | rust-cae42a471c13eec8a6470d0845f46f1606d50742.tar.gz rust-cae42a471c13eec8a6470d0845f46f1606d50742.zip | |
Auto merge of #33494 - Manishearth:rollup, r=Manishearth
Rollup of 8 pull requests - Successful merges: #33369, #33373, #33404, #33406, #33420, #33424, #33426, #33473 - Failed merges:
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 35cd4a5ec52..d49d9764946 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -159,6 +159,13 @@ impl Error for num::ParseIntError { } } +#[unstable(feature = "try_from", issue = "33417")] +impl Error for num::TryFromIntError { + fn description(&self) -> &str { + self.__description() + } +} + #[stable(feature = "rust1", since = "1.0.0")] impl Error for num::ParseFloatError { fn description(&self) -> &str { |
