fn typeck_results_of_method_fn<'tcx>(
cx: &LateContext<'tcx>,
expr: &Expr<'_>,
) -> Option<(Span, DefId, GenericArgsRef<'tcx>)>
Expand description
Helper function for lints that check for expressions with calls and use typeck results to
get the DefId
and GenericArgsRef
of the function.