diff --git a/library/std/src/lazy.rs b/library/std/src/lazy.rs index 1705a4f77c5..60eba96bcc0 100644 --- a/library/std/src/lazy.rs +++ b/library/std/src/lazy.rs @@ -451,7 +451,9 @@ unsafe impl Sync for SyncLazy where SyncOnceCell: Sync {} // auto-derived `Send` impl is OK. #[unstable(feature = "once_cell", issue = "74465")] -impl RefUnwindSafe for SyncLazy where SyncOnceCell: RefUnwindSafe {} +impl RefUnwindSafe for SyncLazy where SyncOnceCell: RefUnwindSafe {} +#[unstable(feature = "once_cell", issue = "74465")] +impl UnwindSafe for SyncLazy where SyncOnceCell: UnwindSafe {} impl SyncLazy { /// Creates a new lazy value with the given initializing