clippy_utils

Function is_diag_trait_item

Source
pub fn is_diag_trait_item(
    cx: &LateContext<'_>,
    def_id: DefId,
    diag_item: Symbol,
) -> bool
Expand description

Checks if a method is in a diagnostic item trait