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
pub fn is_diag_item_method(
cx: &LateContext<'_>,
def_id: DefId,
diag_item: Symbol,
) -> bool
Checks if a method is defined in an impl of a diagnostic item