@@ -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,
@@ -4163,7 +4163,7 @@ ERROR(could_not_infer_placeholder,none,
41634163 " could not infer type for placeholder" , ())
41644164
41654165ERROR(type_of_expression_is_ambiguous,none,
4166- " type of expression is ambiguous without more context " , ())
4166+ " type of expression is ambiguous without a type annotation " , ())
41674167
41684168ERROR(failed_to_produce_diagnostic,Fatal,
41694169 " failed to produce diagnostic for expression; "
0 commit comments