Skip to content

Commit af26294

Browse files
authored
Merge pull request #76583 from glessard/nc-generics-annotation-cleanup
[gardening] remove obsolete annotations
2 parents 4bb8f46 + a35dea1 commit af26294

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

stdlib/public/core/Result.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ extension Result {
7878
}
7979
}
8080

81-
@_disallowFeatureSuppression(NoncopyableGenerics)
8281
extension Result where Success: ~Copyable {
8382
// FIXME(NCG): Make this public.
8483
@_alwaysEmitIntoClient
@@ -147,7 +146,6 @@ extension Result where Success: ~Copyable {
147146
}
148147
}
149148

150-
@_disallowFeatureSuppression(NoncopyableGenerics)
151149
extension Result {
152150
@_spi(SwiftStdlibLegacyABI) @available(swift, obsoleted: 1)
153151
@usableFromInline
@@ -220,7 +218,6 @@ extension Result {
220218
}
221219
}
222220

223-
@_disallowFeatureSuppression(NoncopyableGenerics)
224221
extension Result where Success: ~Copyable {
225222
// FIXME(NCG): Make this public.
226223
@_alwaysEmitIntoClient

stdlib/public/core/UnsafeBufferPointer.swift.gyb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,6 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
549549
}
550550
}
551551

552-
@_disallowFeatureSuppression(NoncopyableGenerics)
553552
extension Unsafe${Mutable}BufferPointer {
554553
/// Accesses the element at the specified position.
555554
///

stdlib/public/core/UnsafePointer.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ extension UnsafePointer where Pointee: ~Copyable {
287287
}
288288
}
289289

290-
@_disallowFeatureSuppression(NoncopyableGenerics)
291290
extension UnsafePointer {
292291
// This preserves the ABI of the original (pre-6.0) `pointee` property that
293292
// used to export a getter. The current one above would export a read
@@ -317,7 +316,6 @@ extension UnsafePointer where Pointee: ~Copyable {
317316
}
318317
}
319318

320-
@_disallowFeatureSuppression(NoncopyableGenerics)
321319
extension UnsafePointer {
322320
// This preserves the ABI of the original (pre-6.0) subscript that used to
323321
// export a getter. The current one above would export a read accessor, if it
@@ -845,7 +843,6 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
845843
}
846844
}
847845

848-
@_disallowFeatureSuppression(NoncopyableGenerics)
849846
extension UnsafeMutablePointer {
850847
// This preserves the ABI of the original (pre-6.0) `pointee` property that
851848
// used to export a getter. The current one above would export a read
@@ -1303,7 +1300,6 @@ extension UnsafeMutablePointer where Pointee: ~Copyable {
13031300
}
13041301
}
13051302

1306-
@_disallowFeatureSuppression(NoncopyableGenerics)
13071303
extension UnsafeMutablePointer {
13081304
// This preserves the ABI of the original (pre-6.0) subscript that used to
13091305
// export a getter. The current one above would export a read accessor, if it

0 commit comments

Comments
 (0)