mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Use a builtin conformance for unconditional Copyable/Escapable
This generalizes what we were already doing for classes.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend -typecheck -verify -disable-availability-checking 2>&1 %s
|
||||
|
||||
// XFAIL: noncopyable_generics
|
||||
|
||||
// REQUIRES: concurrency
|
||||
// REQUIRES: distributed
|
||||
|
||||
@@ -50,4 +48,4 @@ public final class CompletelyHollowActorSystem_NotEvenTypes: DistributedActorSys
|
||||
// expected-error@-3{{class 'CompletelyHollowActorSystem_NotEvenTypes' is missing witness for protocol requirement 'remoteCall'}}
|
||||
// expected-note@-4{{add stubs for conformance}}
|
||||
// expected-note@-5{{add stubs for conformance}}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user