diff options
| -rw-r--r-- | library/alloc/src/rc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs index c0ca068de9c..4fb2f0c8530 100644 --- a/library/alloc/src/rc.rs +++ b/library/alloc/src/rc.rs @@ -318,6 +318,8 @@ impl<T: ?Sized> !marker::Sync for Rc<T> {} #[stable(feature = "catch_unwind", since = "1.9.0")] impl<T: RefUnwindSafe + ?Sized> UnwindSafe for Rc<T> {} +#[stable(feature = "rc_ref_unwind_safe", since = "1.58.0")] +impl<T: RefUnwindSafe + ?Sized> RefUnwindSafe for Rc<T> {} #[unstable(feature = "coerce_unsized", issue = "27732")] impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Rc<U>> for Rc<T> {} |
