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