@@ -5163,13 +5163,13 @@ WARNING(non_sendable_param_type,none,
5163
5163
" non-sendable type %0 %select{passed in call to %4 %2 %3|"
5164
5164
" exiting %4 context in call to non-isolated %2 %3|"
5165
5165
" passed in implicitly asynchronous call to %4 %2 %3|"
5166
- " in parameter of %4 %2 %3 satisfying protocol requirement |"
5167
- " in parameter of %4 overriding %2 %3|"
5166
+ " in parameter of the protocol requirement satisfied by %4 %2 %3|"
5167
+ " in parameter of superclass method overridden by %4 %2 %3|"
5168
5168
" in parameter of %4 '@objc' %2 %3}1 cannot cross actor boundary" ,
5169
5169
(Type, unsigned , DescriptiveDeclKind, DeclName, ActorIsolation))
5170
- WARNING(non_sendable_call_param_type ,none,
5171
- " non-sendable type %0 passed in %select{implicitly asynchronous |}1 "
5172
- " call to %2 function cannot cross actor boundary " ,
5170
+ WARNING(non_sendable_call_argument ,none,
5171
+ " passing argument of non-sendable type %0 %select{into %2 context| "
5172
+ " outside of %2 context}1 may introduce data races " ,
5173
5173
(Type, bool , ActorIsolation))
5174
5174
WARNING(non_sendable_result_type,none,
5175
5175
" non-sendable type %0 returned by %select{call to %4 %2 %3|"
0 commit comments