You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
fnassert_panics<F>(f:F)whereF:FnOnce(){let f = panic::AssertUnwindSafe(f);let result = panic::catch_unwind(move || {
f.0()});ifletOk(..) = result {panic!("diverging function returned");}}
This would not work once capture_disjoint_fields is enabled since f.0 is captured, essentially rendering the wrapper redundant.