1
Fork 0

Implement RFC 1542

cc #33417
This commit is contained in:
Steven Fackler 2016-05-04 22:42:14 -07:00
parent 936b32a514
commit a9779df188
7 changed files with 440 additions and 148 deletions

View file

@ -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 {