From a9d2ed2ab131ddbd218d32b396189bcd8e480e39 Mon Sep 17 00:00:00 2001 From: Jane Losare-Lusby Date: Fri, 15 Jul 2022 22:13:43 +0000 Subject: [PATCH] add tracking issue to generic member access APIs --- library/std/src/error.rs | 16 ++++++++-------- 1 file 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(&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(&self) -> Option { 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(&self) -> Option<&T> { ::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(&self) -> Option { ::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(&self) -> Option<&T> { ::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(&self) -> Option { ::request_value(self) }