@@ -61,25 +61,13 @@ ERROR(ambiguous_member_overload_set,none,
61
61
ERROR(ambiguous_reference_to_decl,none,
62
62
" ambiguous reference to %0 %1" , (DescriptiveDeclKind, DeclName))
63
63
ERROR(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))
75
66
76
67
NOTE(candidate_partial_match,none,
77
68
" candidate has partially matching parameter list %0" ,
78
69
(StringRef))
79
70
80
- ERROR(ambiguous_subscript,none,
81
- " ambiguous subscript with base type %0 and index type %1" ,
82
- (Type, Type))
83
71
ERROR(could_not_find_value_subscript,none,
84
72
" value of type %0 has no subscripts" ,
85
73
(Type))
@@ -282,16 +270,6 @@ ERROR(no_candidates_match_result_type,none,
282
270
" no '%0' candidates produce the expected contextual result type %1" ,
283
271
(StringRef, Type))
284
272
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
-
295
273
296
274
ERROR(cannot_invoke_closure,none,
297
275
" cannot invoke closure expression with an argument list of type '%0'" ,
@@ -407,6 +385,10 @@ ERROR(cannot_convert_argument_value_generic,none,
407
385
" cannot convert value of type %0 (%1) to expected argument type %2 (%3)" ,
408
386
(Type, StringRef, Type, StringRef))
409
387
388
+ ERROR(conflicting_arguments_for_generic_parameter,none,
389
+ " conflicting arguments to generic parameter %0 (%1)" ,
390
+ (Type, StringRef))
391
+
410
392
// @_nonEphemeral conversion diagnostics
411
393
ERROR(cannot_pass_type_to_non_ephemeral,none,
412
394
" cannot pass %0 to parameter; argument %1 must be a pointer that "
0 commit comments