Merge pull request #72820 from kavon/conditional-copyable-restriction

NCGenerics: restrict conditional Copyable reqs
This commit is contained in:
Kavon Farvardin
2024-04-09 17:56:34 -07:00
committed by GitHub
8 changed files with 104 additions and 11 deletions

View File

@@ -139,7 +139,7 @@ import NoncopyableGenerics_Misc
// CHECK-MISC: #endif
// CHECK-MISC: #if compiler(>=5.3) && $NoncopyableGenerics
// CHECK-MISC-NEXT: extension {{.*}}.Outer.InnerVariation2 : Swift.Escapable {
// CHECK-MISC-NEXT: extension {{.*}}.Outer.InnerVariation2 : Swift.Escapable where A : ~Copyable {
// CHECK-MISC: #endif
// CHECK-MISC: #if compiler(>=5.3) && $NoncopyableGenerics