Function clippy_utils::macros::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
pub fn is_panic(cx: &LateContext<'_>, def_id: DefId) -> bool
Is def_id
of std::panic
, core::panic
or any inner implementation macros