/// 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)
}
/// 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)
}
}
/// 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)
}
}
/// 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)
}