@@ -4305,6 +4305,32 @@ ERROR(global_actor_isolated_requirement_witness_conflict,none,
43054305 " requirement from protocol %3 isolated to global actor %4" ,
43064306 (DescriptiveDeclKind, DeclName, Type, Identifier, Type))
43074307
4308+ WARNING(non_concurrent_param_type,none,
4309+ " cannot pass argument of non-concurrent-value type %0 across actors" ,
4310+ (Type))
4311+ WARNING(non_concurrent_result_type,none,
4312+ " cannot call function returning non-concurrent-value type %0 across "
4313+ " actors" , (Type))
4314+ WARNING(non_concurrent_property_type,none,
4315+ " cannot use %0 %1 with a non-concurrent-value type %2 "
4316+ " %select{across actors|from concurrently-executed code}3" ,
4317+ (DescriptiveDeclKind, DeclName, Type, bool ))
4318+ WARNING(non_concurrent_function_type,none,
4319+ " `@concurrent` %select{function type|closure}0 has "
4320+ " non-concurrent-value %select{parameter|result}1 type %2" ,
4321+ (bool , bool , Type))
4322+ ERROR(non_concurrent_type_member,none,
4323+ " %select{stored property %1|associated value %1}0 of "
4324+ " 'ConcurrentValue'-conforming %2 %3 has non-concurrent-value type %4" ,
4325+ (bool , DeclName, DescriptiveDeclKind, DeclName, Type))
4326+ ERROR(concurrent_value_class_mutable_property,none,
4327+ " stored property %0 of 'ConcurrentValue'-conforming %1 %2 is mutable" ,
4328+ (DeclName, DescriptiveDeclKind, DeclName))
4329+ ERROR(concurrent_value_outside_source_file,none,
4330+ " conformance 'ConcurrentValue' must occur in the same source file as "
4331+ " %0 %1; use 'UnsafeConcurrentValue' for retroactive conformance" ,
4332+ (DescriptiveDeclKind, DeclName))
4333+
43084334ERROR(actorindependent_let,none,
43094335 " '@actorIndependent' is meaningless on 'let' declarations because "
43104336 " they are immutable" ,
0 commit comments