Function should_panic

Source
pub fn should_panic<T: Debug>(f: impl FnOnce() -> T + UnwindSafe, desc: &str)