Revert "Stabilize the TryFrom and TryInto traits"
This reverts commit e53a2a7274.
This commit is contained in:
@@ -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`"
|
||||
|
||||
Reference in New Issue
Block a user