mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "Revert "Prevent noncopyable metatypes from being converted to Any""
This reverts commit 1a3b42cd63.
This commit is contained in:
@@ -26,7 +26,7 @@ internal final class DistributedRemoteActorReferenceExecutor: SerialExecutor {
|
||||
@inlinable
|
||||
public func enqueue(_ job: __owned ExecutorJob) {
|
||||
let jobDescription = job.description
|
||||
fatalError("Attempted to enqueue \(ExecutorJob.self) (\(jobDescription)) on executor of remote distributed actor reference!")
|
||||
fatalError("Attempted to enqueue ExecutorJob (\(jobDescription)) on executor of remote distributed actor reference!")
|
||||
}
|
||||
|
||||
public func asUnownedSerialExecutor() -> UnownedSerialExecutor {
|
||||
|
||||
Reference in New Issue
Block a user