diff --git a/Sources/ContainersPreview/Types/UniqueBox.swift b/Sources/ContainersPreview/Types/UniqueBox.swift index 3fc2072f..ab0baaf6 100644 --- a/Sources/ContainersPreview/Types/UniqueBox.swift +++ b/Sources/ContainersPreview/Types/UniqueBox.swift @@ -198,7 +198,7 @@ extension UniqueBox where Value: ~Copyable { } #endif -#if UnstableContainersPreview +#if compiler(>=6.3) && UnstableContainersPreview /// Return a borrowing reference to the contents of this box. @available(SwiftStdlib 5.0, *) @_alwaysEmitIntoClient