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