Function clippy_utils::is_diag_item_method
source · pub fn is_diag_item_method(
cx: &LateContext<'_>,
def_id: DefId,
diag_item: Symbol
) -> bool
Expand description
Checks if a method is defined in an impl of a diagnostic item