diff options
| author | bors <bors@rust-lang.org> | 2019-02-02 06:42:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-02-02 06:42:20 +0000 |
| commit | 3d35a9b1d29dbdacc24a33e759bb660c1ef6ac34 (patch) | |
| tree | 9d09c018bf87ae6e1941c9257fd51c824be72e18 /src/libstd | |
| parent | 4af96aeceb15067d41041897ecc1af117480a228 (diff) | |
| parent | cc1e05f0ca92805d17aaba5613f85287c9ce8dd7 (diff) | |
| download | rust-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.rs | 4 |
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>() } |
