We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912ddd4 commit 44e9417Copy full SHA for 44e9417
stdlib/public/core/UnsafePointer.swift
@@ -738,7 +738,7 @@ extension UnsafeMutablePointer {
738
}
739
740
741
-extension UnsafeMutablePointer {
+extension UnsafeMutablePointer where Pointee: ~Copyable {
742
/// Allocates uninitialized memory for the specified number of instances of
743
/// type `Pointee`.
744
///
@@ -787,7 +787,7 @@ extension UnsafeMutablePointer {
787
788
789
790
-extension UnsafeMutablePointer where Pointee: ~Copyable {
+extension UnsafeMutablePointer {
791
// TODO: Merge this back into the noncopyable variant once we have @_preInverseGenerics
792
@available(swift, obsoleted: 5.11) // Legacy ABI compatibility
793
@usableFromInline
0 commit comments