Skip to content

Commit a9d2ed2

Browse files
committed
add tracking issue to generic member access APIs
1 parent 23e21bd commit a9d2ed2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: library/std/src/error.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,12 @@ pub trait Error: Debug + Display {
364364
/// assert!(core::ptr::eq(&error.backtrace, backtrace_ref));
365365
/// }
366366
/// ```
367-
#[unstable(feature = "error_generic_member_access", issue = "none")]
367+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
368368
#[allow(unused_variables)]
369369
fn provide<'a>(&'a self, req: &mut Demand<'a>) {}
370370
}
371371

372-
#[unstable(feature = "error_generic_member_access", issue = "none")]
372+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
373373
impl Provider for dyn Error + 'static {
374374
fn provide<'a>(&'a self, req: &mut Demand<'a>) {
375375
self.provide(req)
@@ -912,13 +912,13 @@ impl dyn Error + 'static {
912912
}
913913

914914
/// Request a reference of type `T` as context about this error.
915-
#[unstable(feature = "error_generic_member_access", issue = "none")]
915+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
916916
pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> {
917917
core::any::request_ref(self)
918918
}
919919

920920
/// Request a value of type `T` as context about this error.
921-
#[unstable(feature = "error_generic_member_access", issue = "none")]
921+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
922922
pub fn request_value<T: 'static>(&self) -> Option<T> {
923923
core::any::request_value(self)
924924
}
@@ -947,13 +947,13 @@ impl dyn Error + 'static + Send {
947947
}
948948

949949
/// Request a reference of type `T` as context about this error.
950-
#[unstable(feature = "error_generic_member_access", issue = "none")]
950+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
951951
pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> {
952952
<dyn Error + 'static>::request_ref(self)
953953
}
954954

955955
/// Request a value of type `T` as context about this error.
956-
#[unstable(feature = "error_generic_member_access", issue = "none")]
956+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
957957
pub fn request_value<T: 'static>(&self) -> Option<T> {
958958
<dyn Error + 'static>::request_value(self)
959959
}
@@ -982,13 +982,13 @@ impl dyn Error + 'static + Send + Sync {
982982
}
983983

984984
/// Request a reference of type `T` as context about this error.
985-
#[unstable(feature = "error_generic_member_access", issue = "none")]
985+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
986986
pub fn request_ref<T: ?Sized + 'static>(&self) -> Option<&T> {
987987
<dyn Error + 'static>::request_ref(self)
988988
}
989989

990990
/// Request a value of type `T` as context about this error.
991-
#[unstable(feature = "error_generic_member_access", issue = "none")]
991+
#[unstable(feature = "error_generic_member_access", issue = "99301")]
992992
pub fn request_value<T: 'static>(&self) -> Option<T> {
993993
<dyn Error + 'static>::request_value(self)
994994
}

0 commit comments

Comments
 (0)