mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Concurrency] Adopt stable keyword consuming instead of __owned
add test for warnings emitted when missing consuming attribute use -emit-sil in mock SDK tests for better coverage
This commit is contained in:
@@ -24,7 +24,7 @@ internal final class DistributedRemoteActorReferenceExecutor: SerialExecutor {
|
||||
internal init() {}
|
||||
|
||||
@inlinable
|
||||
public func enqueue(_ job: __owned ExecutorJob) {
|
||||
public func enqueue(_ job: consuming ExecutorJob) {
|
||||
let jobDescription = job.description
|
||||
fatalError("Attempted to enqueue ExecutorJob (\(jobDescription)) on executor of remote distributed actor reference!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user