@@ -8257,10 +8257,14 @@ ERROR(attr_abi_incompatible_with_silgen_name,none,
82578257// MARK: @execution Attribute
82588258// ===----------------------------------------------------------------------===//
82598259
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" ,
82628262 (ValueDecl *))
82638263
8264+ ERROR(attr_execution_type_attr_only_on_async,none,
8265+ " cannot use '@execution' on non-async function type" ,
8266+ ())
8267+
82648268ERROR(attr_execution_concurrent_incompatible_isolated_parameter,none,
82658269 " cannot use '@execution(concurrent)' on %kind0 because it has "
82668270 " an isolated parameter: %1" ,
@@ -8276,6 +8280,19 @@ ERROR(attr_execution_concurrent_incompatible_with_nonisolated,none,
82768280 " because they serve the same purpose" ,
82778281 (ValueDecl *))
82788282
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+
82798296
82808297#define UNDEFINE_DIAGNOSTIC_MACROS
82818298#include " DefineDiagnosticMacros.h"
0 commit comments