about summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-02-08 15:00:47 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-02-13 18:00:18 +0100
commitc80a8f51dcdc90dd8a5234f3bef6160814eee5df (patch)
tree11ae1b5d7e96a0e76aa7ad135f5a827bd15ed226 /src/libstd/error.rs
parent2f7120397f5178fd3b389c2551a03991f3f4ee31 (diff)
downloadrust-c80a8f51dcdc90dd8a5234f3bef6160814eee5df.tar.gz
rust-c80a8f51dcdc90dd8a5234f3bef6160814eee5df.zip
Stabilize TryFrom and TryInto
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index 6348b411a4c..cd930240465 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -466,14 +466,14 @@ impl Error for num::ParseIntError {
     }
 }
 
-#[unstable(feature = "try_from", issue = "33417")]
+#[stable(feature = "try_from", since = "1.34.0")]
 impl Error for num::TryFromIntError {
     fn description(&self) -> &str {
         self.__description()
     }
 }
 
-#[unstable(feature = "try_from", issue = "33417")]
+#[stable(feature = "try_from", since = "1.34.0")]
 impl Error for array::TryFromSliceError {
     fn description(&self) -> &str {
         self.__description()
@@ -548,7 +548,7 @@ impl Error for cell::BorrowMutError {
     }
 }
 
-#[unstable(feature = "try_from", issue = "33417")]
+#[stable(feature = "try_from", since = "1.34.0")]
 impl Error for char::CharTryFromError {
     fn description(&self) -> &str {
         "converted integer out of range for `char`"