Function clippy_utils::is_def_id_trait_method
source · pub fn is_def_id_trait_method(cx: &LateContext<'_>, def_id: LocalDefId) -> boolExpand description
Checks if the def_id belongs to a function that is part of a trait impl.