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-01 11:29:02 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-02-01 11:29:02 +0100
commitcc1e05f0ca92805d17aaba5613f85287c9ce8dd7 (patch)
tree9eadbe9cc076dc63eb077235f0bcc4213f234840 /src/libstd/error.rs
parent741a3d42cb9350bcf8380b78f7695cbd10b11951 (diff)
downloadrust-cc1e05f0ca92805d17aaba5613f85287c9ce8dd7.tar.gz
rust-cc1e05f0ca92805d17aaba5613f85287c9ce8dd7.zip
Stabilize std::error::Error::type_id
This should have been part of https://github.com/rust-lang/rust/pull/57834

FCP: https://github.com/rust-lang/rust/issues/27745#issuecomment-373906749
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index 2f9efb3f0fb..50415d9aeb9 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -197,9 +197,7 @@ pub trait Error: Debug + Display {
 
     /// Get the `TypeId` of `self`
     #[doc(hidden)]
-    #[unstable(feature = "error_type_id",
-               reason = "unclear whether to commit to this public implementation detail",
-               issue = "27745")]
+    #[stable(feature = "error_type_id", since = "1.34.0")]
     fn type_id(&self) -> TypeId where Self: 'static {
         TypeId::of::<Self>()
     }