@@ -275,10 +275,10 @@ ERROR(no_candidates_match_argument_type,none,
275275 (StringRef, Type, unsigned ))
276276
277277ERROR(cannot_infer_closure_parameter_type,none,
278- " unable to infer type of a closure parameter %0 in the current context " ,
278+ " cannot infer type of closure parameter %0 without a type annotation " ,
279279 (StringRef))
280280ERROR(cannot_infer_closure_type,none,
281- " unable to infer closure type in the current context " , ())
281+ " unable to infer closure type without a type annotation " , ())
282282ERROR(cannot_infer_empty_closure_result_type,none,
283283 " cannot infer return type of empty closure" , ())
284284ERROR(cannot_infer_closure_result_type,none,
@@ -4077,7 +4077,7 @@ ERROR(could_not_infer_placeholder,none,
40774077 " could not infer type for placeholder" , ())
40784078
40794079ERROR(type_of_expression_is_ambiguous,none,
4080- " type of expression is ambiguous without more context " , ())
4080+ " type of expression is ambiguous without a type annotation " , ())
40814081
40824082ERROR(failed_to_produce_diagnostic,Fatal,
40834083 " failed to produce diagnostic for expression; "
0 commit comments