Revert "Stabilize the TryFrom and TryInto traits"

This reverts commit e53a2a7274.
This commit is contained in:
Felix S. Klock II
2018-04-20 17:41:31 +02:00
parent aaefa947ac
commit d141fdc3bf
11 changed files with 28 additions and 27 deletions

View File

@@ -284,14 +284,14 @@ impl Error for num::ParseIntError {
}
}
#[stable(feature = "try_from", since = "1.26.0")]
#[unstable(feature = "try_from", issue = "33417")]
impl Error for num::TryFromIntError {
fn description(&self) -> &str {
self.__description()
}
}
#[stable(feature = "try_from", since = "1.26.0")]
#[unstable(feature = "try_from", issue = "33417")]
impl Error for array::TryFromSliceError {
fn description(&self) -> &str {
self.__description()
@@ -365,7 +365,7 @@ impl Error for cell::BorrowMutError {
}
}
#[stable(feature = "try_from", since = "1.26.0")]
#[unstable(feature = "try_from", issue = "33417")]
impl Error for char::CharTryFromError {
fn description(&self) -> &str {
"converted integer out of range for `char`"