Function clippy_utils::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
pub fn is_diag_trait_item(
cx: &LateContext<'_>,
def_id: DefId,
diag_item: Symbol
) -> bool
Checks if a method is in a diagnostic item trait