clippy_utils

Function is_def_id_trait_method

Source
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.