Function clippy_utils::macros::is_assert_macro
source ยท pub fn is_assert_macro(cx: &LateContext<'_>, def_id: DefId) -> bool
Expand description
Is def_id
of assert!
or debug_assert!
pub fn is_assert_macro(cx: &LateContext<'_>, def_id: DefId) -> bool
Is def_id
of assert!
or debug_assert!