File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ use crate::cell::UnsafeCell;
93
93
use crate :: env;
94
94
use crate :: ffi:: c_void;
95
95
use crate :: fmt;
96
- use crate :: panic:: UnwindSafe ;
96
+ use crate :: panic:: { RefUnwindSafe , UnwindSafe } ;
97
97
use crate :: sync:: atomic:: { AtomicUsize , Ordering :: Relaxed } ;
98
98
use crate :: sync:: Once ;
99
99
use crate :: sys_common:: backtrace:: { lock, output_filename} ;
@@ -458,6 +458,9 @@ impl LazilyResolvedCapture {
458
458
// So long as `Capture` is `Sync`, `LazilyResolvedCapture` is too
459
459
unsafe impl Sync for LazilyResolvedCapture where Capture : Sync { }
460
460
461
+ impl UnwindSafe for LazilyResolvedCapture { }
462
+ impl RefUnwindSafe for LazilyResolvedCapture { }
463
+
461
464
impl Capture {
462
465
fn resolve ( & mut self ) {
463
466
// If we're already resolved, nothing to do!
You can’t perform that action at this time.
0 commit comments