[ContainersPreview] Bump required toolchain to 6.4 for new protocols

This commit is contained in:
Karoy Lorentey committed 2026-03-26 14:51:08 -07:00
1 parent ae3dcf384d
commit 70a25f1f69
67 files changed
+152 -131

No files matched your search

@@ -18,7 +18,7 @@ import ContainersPreview
#if compiler(>=6.2)
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
@available(SwiftStdlib 5.0, *)
extension UniqueArray: BorrowingSequence where Element: ~Copyable {
public typealias BorrowingIterator = RigidArray<Element>.BorrowingIterator
@@ -34,7 +34,7 @@ extension UniqueArray: BorrowingSequence where Element: ~Copyable {
}
#endif
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
#if compiler(>=6.4) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
@available(SwiftStdlib 5.0, *)
extension UniqueArray: Container where Element: ~Copyable {}