about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-02 06:42:20 +0000
committerbors <bors@rust-lang.org>2019-02-02 06:42:20 +0000
commit3d35a9b1d29dbdacc24a33e759bb660c1ef6ac34 (patch)
tree9d09c018bf87ae6e1941c9257fd51c824be72e18 /src/libstd
parent4af96aeceb15067d41041897ecc1af117480a228 (diff)
parentcc1e05f0ca92805d17aaba5613f85287c9ce8dd7 (diff)
downloadrust-3d35a9b1d29dbdacc24a33e759bb660c1ef6ac34.tar.gz
rust-3d35a9b1d29dbdacc24a33e759bb660c1ef6ac34.zip
Auto merge of #58048 - SimonSapin:error_type_id, r=Centril
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')
-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>()
     }