Skip to content

Commit 2590b2d

Browse files
committed
[Concurrency] Obsolete a few deprecated typealiases to Sendable in
Swift 6.
1 parent 7af3886 commit 2590b2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/core/Sendable.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,14 @@
147147
///
148148
/// struct MyStructure: @unchecked Sendable { ... }
149149
@available(*, deprecated, message: "Use @unchecked Sendable instead")
150+
@available(swift, obsoleted: 6.0, message: "Use @unchecked Sendable instead")
150151
@_marker public protocol UnsafeSendable: Sendable { }
151152

152153
// Historical names
153154
@available(*, deprecated, renamed: "Sendable")
155+
@available(swift, obsoleted: 6.0, renamed: "Sendable")
154156
public typealias ConcurrentValue = Sendable
155157

156158
@available(*, deprecated, renamed: "Sendable")
159+
@available(swift, obsoleted: 6.0, renamed: "Sendable")
157160
public typealias UnsafeConcurrentValue = UnsafeSendable

0 commit comments

Comments
 (0)