@@ -7870,36 +7870,31 @@ ERROR(lifetime_dependence_only_on_function_method_init_result, none,
7870
7870
" functions, methods, initializers" , ())
7871
7871
ERROR(lifetime_dependence_invalid_return_type, none,
7872
7872
" lifetime dependence can only be specified on ~Escapable results" , ())
7873
- ERROR(lifetime_dependence_cannot_infer_ambiguous_candidate, none,
7874
- " cannot infer lifetime dependence, multiple parameters qualifiy as a candidate" , ())
7873
+ ERROR(lifetime_dependence_cannot_infer_ambiguous_candidate, none,
7874
+ " cannot infer lifetime dependence %0 , multiple parameters qualifiy as a candidate" , (StringRef ))
7875
7875
ERROR(lifetime_dependence_cannot_infer_no_candidates, none,
7876
- " cannot infer lifetime dependence, no parameters found that are "
7877
- " ~Escapable or Escapable with a borrowing ownership" ,
7876
+ " cannot infer lifetime dependence %0, no parameters found that are "
7877
+ " ~Escapable or Escapable with a borrowing ownership" , (StringRef))
7878
+ ERROR(lifetime_dependence_ctor_non_self_or_nil_return, none,
7879
+ " expected nil or self as return values in an initializer with "
7880
+ " lifetime dependent specifiers" ,
7878
7881
())
7879
- ERROR(lifetime_dependence_ctor_non_self_or_nil_return, none,
7880
- " expected nil or self as return values in an initializer with "
7881
- " lifetime dependent specifiers" , ())
7882
- ERROR(lifetime_dependence_on_bitwise_copyable, none,
7883
- " invalid lifetime dependence on bitwise copyable type" , ())
7884
- ERROR(lifetime_dependence_cannot_infer_implicit_init, none,
7885
- " cannot infer lifetime dependence on implicit initializer of ~Escapable"
7886
- " type, define an initializer with explicit lifetime dependence"
7887
- " specifiers" , ())
7888
- ERROR(lifetime_dependence_cannot_be_applied_to_tuple_elt, none,
7889
- " lifetime dependence specifiers cannot be applied to tuple elements" , ())
7890
-
7891
- // ===----------------------------------------------------------------------===//
7892
- // MARK: Transferring
7893
- // ===----------------------------------------------------------------------===//
7894
-
7895
- ERROR(transferring_unsupported_param_specifier, none,
7896
- " '%0' cannot be applied to a 'transferring' parameter" , (StringRef))
7897
-
7898
- ERROR(transferring_only_on_parameters_and_results, none,
7899
- " 'transferring' may only be used on parameters and results" , ())
7900
- ERROR(transferring_cannot_be_applied_to_tuple_elt, none,
7901
- " 'transferring' cannot be applied to tuple elements" , ())
7902
-
7882
+ ERROR(lifetime_dependence_on_bitwise_copyable, none,
7883
+ " invalid lifetime dependence on bitwise copyable type" , ())
7884
+ ERROR(lifetime_dependence_cannot_be_applied_to_tuple_elt, none,
7885
+ " lifetime dependence specifiers cannot be applied to tuple elements" , ())
7886
+
7887
+ // ===----------------------------------------------------------------------===//
7888
+ // MARK: Transferring
7889
+ // ===----------------------------------------------------------------------===//
7890
+
7891
+ ERROR(transferring_unsupported_param_specifier, none,
7892
+ " '%0' cannot be applied to a 'transferring' parameter" , (StringRef))
7893
+
7894
+ ERROR(transferring_only_on_parameters_and_results, none,
7895
+ " 'transferring' may only be used on parameters and results" , ())
7896
+ ERROR(transferring_cannot_be_applied_to_tuple_elt, none,
7897
+ " 'transferring' cannot be applied to tuple elements" , ())
7903
7898
7904
7899
#define UNDEFINE_DIAGNOSTIC_MACROS
7905
7900
#include " DefineDiagnosticMacros.h"
0 commit comments