clippy_utils::macros

Function is_panic

Source
pub fn is_panic(cx: &LateContext<'_>, def_id: DefId) -> bool
Expand description

Is def_id of std::panic, core::panic or any inner implementation macros