@@ -3825,18 +3825,18 @@ NOTE(generic_parameters_always_escaping,none,
3825
3825
3826
3826
ERROR(passing_noattrfunc_to_attrfunc,none,
3827
3827
" passing %select{non-escaping|non-concurrent}0 parameter %1 to function "
3828
- " expecting %select{an @escaping|a @concurrent }0 closure" ,
3828
+ " expecting %select{an @escaping|a @Sendable }0 closure" ,
3829
3829
(unsigned , Identifier))
3830
3830
ERROR(converting_noespace_param_to_generic_type,none,
3831
3831
" converting non-escaping parameter %0 to generic parameter %1 may allow it to escape" ,
3832
3832
(Identifier, Type))
3833
3833
ERROR(assigning_noattrfunc_to_attrfunc,none,
3834
3834
" assigning %select{non-escaping|non-concurrent}0 parameter %1 to "
3835
- " %select{an @escaping|a @concurrent }0 closure" ,
3835
+ " %select{an @escaping|a @Sendable }0 closure" ,
3836
3836
(unsigned , Identifier))
3837
3837
ERROR(general_noattrfunc_to_attr,none,
3838
3838
" using %select{non-escaping|non-concurrent}0 parameter %1 in a context "
3839
- " expecting %select{an @escaping|a @concurrent }0 closure" ,
3839
+ " expecting %select{an @escaping|a @Sendable }0 closure" ,
3840
3840
(unsigned , Identifier))
3841
3841
ERROR(converting_noattrfunc_to_type,none,
3842
3842
" converting %select{non-escaping|non-concurrent function}0 value to %1 "
@@ -4371,7 +4371,7 @@ ERROR(actor_isolated_keypath_component,none,
4371
4371
" cannot form key path to actor-isolated %0 %1" ,
4372
4372
(DescriptiveDeclKind, DeclName))
4373
4373
ERROR(local_function_executed_concurrently,none,
4374
- " concurrently-executed %0 %1 must be marked as '@concurrent '" ,
4374
+ " concurrently-executed %0 %1 must be marked as '@Sendable '" ,
4375
4375
(DescriptiveDeclKind, DeclName))
4376
4376
ERROR(concurrent_access_of_local_capture,none,
4377
4377
" %select{mutation of|reference to}0 captured %1 %2 in "
@@ -4404,37 +4404,37 @@ ERROR(global_actor_isolated_requirement_witness_conflict,none,
4404
4404
(DescriptiveDeclKind, DeclName, Type, Identifier, Type))
4405
4405
4406
4406
WARNING(non_concurrent_param_type,none,
4407
- " cannot pass argument of non-concurrent-value type %0 across actors" ,
4407
+ " cannot pass argument of non-sendable type %0 across actors" ,
4408
4408
(Type))
4409
4409
WARNING(non_concurrent_result_type,none,
4410
- " cannot call function returning non-concurrent-value type %0 across "
4410
+ " cannot call function returning non-sendable type %0 across "
4411
4411
" actors" , (Type))
4412
4412
WARNING(non_concurrent_property_type,none,
4413
- " cannot use %0 %1 with a non-concurrent-value type %2 "
4413
+ " cannot use %0 %1 with a non-sendable type %2 "
4414
4414
" %select{across actors|from concurrently-executed code}3" ,
4415
4415
(DescriptiveDeclKind, DeclName, Type, bool ))
4416
4416
WARNING(non_concurrent_keypath_capture,none,
4417
- " cannot form key path that captures non-concurrent-value type %0" ,
4417
+ " cannot form key path that captures non-sendable type %0" ,
4418
4418
(Type))
4419
4419
WARNING(non_concurrent_keypath_access,none,
4420
- " cannot form key path that accesses non-concurrent-value type %0" ,
4420
+ " cannot form key path that accesses non-sendable type %0" ,
4421
4421
(Type))
4422
4422
ERROR(non_concurrent_type_member,none,
4423
4423
" %select{stored property %1|associated value %1}0 of "
4424
- " 'ConcurrentValue '-conforming %2 %3 has non-concurrent-value type %4" ,
4424
+ " 'Sendable '-conforming %2 %3 has non-sendable type %4" ,
4425
4425
(bool , DeclName, DescriptiveDeclKind, DeclName, Type))
4426
4426
ERROR(concurrent_value_class_mutable_property,none,
4427
- " stored property %0 of 'ConcurrentValue '-conforming %1 %2 is mutable" ,
4427
+ " stored property %0 of 'Sendable '-conforming %1 %2 is mutable" ,
4428
4428
(DeclName, DescriptiveDeclKind, DeclName))
4429
4429
ERROR(concurrent_value_outside_source_file,none,
4430
- " conformance to 'ConcurrentValue ' must occur in the same source file as "
4431
- " %0 %1; use 'UnsafeConcurrentValue ' for retroactive conformance" ,
4430
+ " conformance to 'Sendable ' must occur in the same source file as "
4431
+ " %0 %1; use 'UnsafeSendable ' for retroactive conformance" ,
4432
4432
(DescriptiveDeclKind, DeclName))
4433
4433
ERROR(concurrent_value_nonfinal_class,none,
4434
- " non-final class %0 cannot conform to `ConcurrentValue `; "
4435
- " use `UnsafeConcurrentValue `" , (DeclName))
4434
+ " non-final class %0 cannot conform to `Sendable `; "
4435
+ " use `UnsafeSendable `" , (DeclName))
4436
4436
ERROR(concurrent_value_inherit,none,
4437
- " `ConcurrentValue ` class %1 cannot inherit from another class"
4437
+ " `Sendable ` class %1 cannot inherit from another class"
4438
4438
" %select{| other than 'NSObject'}0" ,
4439
4439
(bool , DeclName))
4440
4440
0 commit comments