pub fn check_generic_arg_count_for_call(
tcx: TyCtxt<'_>,
span: Span,
def_id: DefId,
generics: &Generics,
seg: &PathSegment<'_>,
is_method_call: IsMethodCall
) -> GenericArgCountResult
Expand description
Checks that the correct number of generic arguments have been provided. Used specifically for function calls.