diff options
| author | Jane Losare-Lusby <jlusby@yaah.dev> | 2022-07-15 22:13:43 +0000 |
|---|---|---|
| committer | Jane Losare-Lusby <jlusby@yaah.dev> | 2022-07-15 22:13:43 +0000 |
| commit | a9d2ed2ab131ddbd218d32b396189bcd8e480e39 (patch) | |
| tree | 551837ec08bfc175da7dd8d007f41049416bee46 | |
| parent | 23e21bdd25026e2839ebe946c2a937c1904887d2 (diff) | |
| download | rust-a9d2ed2ab131ddbd218d32b396189bcd8e480e39.tar.gz rust-a9d2ed2ab131ddbd218d32b396189bcd8e480e39.zip | |
add tracking issue to generic member access APIs
| -rw-r--r-- | library/std/src/error.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/std/src/error.rs b/library/std/src/error.rs index 57f16f9517f..ff7b70c328d 100644 --- a/library/std/src/error.rs +++ b/library/std/src/error.rs @@ -364,12 +364,12 @@ pub trait Error: Debug + Display { /// assert!(core::ptr::eq(&error.backtrace, backtrace_ref)); /// } /// ``` - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] #[allow(unused_variables)] fn provide<'a>(&'a self, req: &mut Demand<'a>) {} } -#[unstable(feature = "error_generic_member_access", issue = "none")] +#[unstable(feature = "error_generic_member_access", issue = "99301")] impl Provider for dyn Error + 'static { fn provide<'a>(&'a self, req: &mut Demand<'a>) { self.provide(req) @@ -912,13 +912,13 @@ impl dyn Error + 'static { } /// Request a reference of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> { core::any::request_ref(self) } /// Request a value of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_value<T: 'static>(&self) -> Option<T> { core::any::request_value(self) } @@ -947,13 +947,13 @@ impl dyn Error + 'static + Send { } /// Request a reference of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> { <dyn Error + 'static>::request_ref(self) } /// Request a value of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_value<T: 'static>(&self) -> Option<T> { <dyn Error + 'static>::request_value(self) } @@ -982,13 +982,13 @@ impl dyn Error + 'static + Send + Sync { } /// Request a reference of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> { <dyn Error + 'static>::request_ref(self) } /// Request a value of type `T` as context about this error. - #[unstable(feature = "error_generic_member_access", issue = "none")] + #[unstable(feature = "error_generic_member_access", issue = "99301")] pub fn request_value<T: 'static>(&self) -> Option<T> { <dyn Error + 'static>::request_value(self) } |
