pub fn match_trait_method(
cx: &LateContext<'_>,
expr: &Expr<'_>,
path: &[&str],
) -> boolExpand description
Checks if the method call given in expr belongs to the given trait.
This is a deprecated function, consider using is_trait_method.