pub fn check_generic_arg_count_for_call(
cx: &dyn HirTyLowerer<'_>,
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.