@@ -61,25 +61,13 @@ ERROR(ambiguous_member_overload_set,none,
6161ERROR(ambiguous_reference_to_decl,none,
6262 " ambiguous reference to %0 %1" , (DescriptiveDeclKind, DeclName))
6363ERROR(no_overloads_match_exactly_in_call,none,
64- " no exact matches in call to %0 %1" ,
65- (DescriptiveDeclKind, DeclName))
66- ERROR(no_overloads_match_exactly_in_call_no_labels,none,
67- " no exact matches in call to %0 %1" ,
68- (DescriptiveDeclKind, DeclBaseName))
69- ERROR(no_overloads_match_exactly_in_call_special,none,
70- " no exact matches in call to %0" ,
71- (DescriptiveDeclKind))
72- ERROR(no_overloads_match_exactly_in_assignment,none,
73- " no exact matches in assignment to %0" ,
74- (DeclBaseName))
64+ " no exact matches in %select{reference|call}0 to %1 %select{%3|}2" ,
65+ (bool , DescriptiveDeclKind, bool , DeclBaseName))
7566
7667NOTE(candidate_partial_match,none,
7768 " candidate has partially matching parameter list %0" ,
7869 (StringRef))
7970
80- ERROR(ambiguous_subscript,none,
81- " ambiguous subscript with base type %0 and index type %1" ,
82- (Type, Type))
8371ERROR(could_not_find_value_subscript,none,
8472 " value of type %0 has no subscripts" ,
8573 (Type))
@@ -282,16 +270,6 @@ ERROR(no_candidates_match_result_type,none,
282270 " no '%0' candidates produce the expected contextual result type %1" ,
283271 (StringRef, Type))
284272
285- ERROR(candidates_no_match_result_type,none,
286- " '%0' produces %1, not the expected contextual result type %2" ,
287- (StringRef, Type, Type))
288-
289-
290-
291- ERROR(invalid_callee_result_type,none,
292- " cannot convert call result type %0 to expected type %1" ,
293- (Type, Type))
294-
295273
296274ERROR(cannot_invoke_closure,none,
297275 " cannot invoke closure expression with an argument list of type '%0'" ,
@@ -407,6 +385,10 @@ ERROR(cannot_convert_argument_value_generic,none,
407385 " cannot convert value of type %0 (%1) to expected argument type %2 (%3)" ,
408386 (Type, StringRef, Type, StringRef))
409387
388+ ERROR(conflicting_arguments_for_generic_parameter,none,
389+ " conflicting arguments to generic parameter %0 (%1)" ,
390+ (Type, StringRef))
391+
410392// @_nonEphemeral conversion diagnostics
411393ERROR(cannot_pass_type_to_non_ephemeral,none,
412394 " cannot pass %0 to parameter; argument %1 must be a pointer that "
0 commit comments