@@ -27,7 +27,7 @@ public protocol Executor: AnyObject, Sendable {
27
27
// since it lacks move-only type support.
28
28
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
29
29
@available ( SwiftStdlib 5 . 9 , * )
30
- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
30
+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
31
31
func enqueue( _ job: consuming Job )
32
32
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
33
33
@@ -47,7 +47,7 @@ public protocol SerialExecutor: Executor {
47
47
@_nonoverride
48
48
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
49
49
@available ( SwiftStdlib 5 . 1 , * )
50
- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
50
+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
51
51
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
52
52
func enqueue( _ job: UnownedJob )
53
53
@@ -58,7 +58,7 @@ public protocol SerialExecutor: Executor {
58
58
// work-scheduling operation.
59
59
@_nonoverride
60
60
@available ( SwiftStdlib 5 . 9 , * )
61
- @available ( * , deprecated, message: " Implement 'enqueue(_: __owned ExecutorJob)' instead " )
61
+ @available ( * , deprecated, message: " Implement 'enqueue(_: consuming ExecutorJob)' instead " )
62
62
func enqueue( _ job: consuming Job )
63
63
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
64
64
0 commit comments