clippy_utils::macros

Function 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!