@@ -3825,18 +3825,18 @@ NOTE(generic_parameters_always_escaping,none,
38253825
38263826ERROR(passing_noattrfunc_to_attrfunc,none,
38273827 " 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" ,
38293829 (unsigned , Identifier))
38303830ERROR(converting_noespace_param_to_generic_type,none,
38313831 " converting non-escaping parameter %0 to generic parameter %1 may allow it to escape" ,
38323832 (Identifier, Type))
38333833ERROR(assigning_noattrfunc_to_attrfunc,none,
38343834 " 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" ,
38363836 (unsigned , Identifier))
38373837ERROR(general_noattrfunc_to_attr,none,
38383838 " 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" ,
38403840 (unsigned , Identifier))
38413841ERROR(converting_noattrfunc_to_type,none,
38423842 " converting %select{non-escaping|non-concurrent function}0 value to %1 "
@@ -4371,7 +4371,7 @@ ERROR(actor_isolated_keypath_component,none,
43714371 " cannot form key path to actor-isolated %0 %1" ,
43724372 (DescriptiveDeclKind, DeclName))
43734373ERROR(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 '" ,
43754375 (DescriptiveDeclKind, DeclName))
43764376ERROR(concurrent_access_of_local_capture,none,
43774377 " %select{mutation of|reference to}0 captured %1 %2 in "
@@ -4404,37 +4404,37 @@ ERROR(global_actor_isolated_requirement_witness_conflict,none,
44044404 (DescriptiveDeclKind, DeclName, Type, Identifier, Type))
44054405
44064406WARNING(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" ,
44084408 (Type))
44094409WARNING(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 "
44114411 " actors" , (Type))
44124412WARNING(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 "
44144414 " %select{across actors|from concurrently-executed code}3" ,
44154415 (DescriptiveDeclKind, DeclName, Type, bool ))
44164416WARNING(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" ,
44184418 (Type))
44194419WARNING(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" ,
44214421 (Type))
44224422ERROR(non_concurrent_type_member,none,
44234423 " %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" ,
44254425 (bool , DeclName, DescriptiveDeclKind, DeclName, Type))
44264426ERROR(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" ,
44284428 (DeclName, DescriptiveDeclKind, DeclName))
44294429ERROR(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" ,
44324432 (DescriptiveDeclKind, DeclName))
44334433ERROR(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))
44364436ERROR(concurrent_value_inherit,none,
4437- " `ConcurrentValue ` class %1 cannot inherit from another class"
4437+ " `Sendable ` class %1 cannot inherit from another class"
44384438 " %select{| other than 'NSObject'}0" ,
44394439 (bool , DeclName))
44404440
0 commit comments