@@ -27,7 +27,7 @@ public protocol Executor: AnyObject, Sendable {
2727 // since it lacks move-only type support.
2828 #if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
2929 @available ( SwiftStdlib 5 . 9 , * )
30- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
30+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
3131 func enqueue( _ job: consuming Job )
3232 #endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
3333
@@ -47,7 +47,7 @@ public protocol SerialExecutor: Executor {
4747 @_nonoverride
4848 #if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
4949 @available ( SwiftStdlib 5 . 1 , * )
50- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
50+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
5151 #endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
5252 func enqueue( _ job: UnownedJob )
5353
@@ -58,7 +58,7 @@ public protocol SerialExecutor: Executor {
5858 // work-scheduling operation.
5959 @_nonoverride
6060 @available ( SwiftStdlib 5 . 9 , * )
61- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
61+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
6262 func enqueue( _ job: consuming Job )
6363 #endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
6464
0 commit comments