clippy_utils

Function 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