@@ -8257,10 +8257,14 @@ ERROR(attr_abi_incompatible_with_silgen_name,none,
8257
8257
// MARK: @execution Attribute
8258
8258
// ===----------------------------------------------------------------------===//
8259
8259
8260
- ERROR(attr_execution_concurrent_only_on_async ,none,
8261
- " cannot use '@execution(concurrent) ' on non-async %kind0" ,
8260
+ ERROR(attr_execution_only_on_async ,none,
8261
+ " cannot use '@execution' on non-async %kind0" ,
8262
8262
(ValueDecl *))
8263
8263
8264
+ ERROR(attr_execution_type_attr_only_on_async,none,
8265
+ " cannot use '@execution' on non-async function type" ,
8266
+ ())
8267
+
8264
8268
ERROR(attr_execution_concurrent_incompatible_isolated_parameter,none,
8265
8269
" cannot use '@execution(concurrent)' on %kind0 because it has "
8266
8270
" an isolated parameter: %1" ,
@@ -8276,6 +8280,19 @@ ERROR(attr_execution_concurrent_incompatible_with_nonisolated,none,
8276
8280
" because they serve the same purpose" ,
8277
8281
(ValueDecl *))
8278
8282
8283
+ ERROR(attr_execution_concurrent_type_attr_incompatible_with_global_isolation,none,
8284
+ " cannot use '@execution(concurrent)' because function type is "
8285
+ " isolated to global actor %0" ,
8286
+ (Type))
8287
+
8288
+ ERROR(attr_execution_concurrent_type_attr_incompatible_with_isolated_param,none,
8289
+ " cannot use '@execution(concurrent)' together with isolated parameter" ,
8290
+ ())
8291
+
8292
+ ERROR(attr_execution_concurrent_type_attr_incompatible_with_isolated_any,none,
8293
+ " cannot use '@execution(concurrent)' together with @isolated(any)" ,
8294
+ ())
8295
+
8279
8296
8280
8297
#define UNDEFINE_DIAGNOSTIC_MACROS
8281
8298
#include " DefineDiagnosticMacros.h"
0 commit comments