@@ -21,6 +21,7 @@ private import _TestingInternals
2121///
2222/// @Metadata {
2323/// @Available(Swift, introduced: 6.2)
24+ /// @Available(Xcode, introduced: 26.0)
2425/// }
2526public struct Attachment < AttachableValue> : ~ Copyable where AttachableValue: Attachable & ~ Copyable {
2627 /// Storage for ``attachableValue-7dyjv``.
@@ -57,6 +58,7 @@ public struct Attachment<AttachableValue>: ~Copyable where AttachableValue: Atta
5758 ///
5859 /// @Metadata {
5960 /// @Available(Swift, introduced: 6.2)
61+ /// @Available(Xcode, introduced: 26.0)
6062 /// }
6163 public var preferredName : String {
6264 let suggestedName = if let _preferredName, !_preferredName. isEmpty {
@@ -100,6 +102,7 @@ extension Attachment where AttachableValue: ~Copyable {
100102 ///
101103 /// @Metadata {
102104 /// @Available(Swift, introduced: 6.2)
105+ /// @Available(Xcode, introduced: 26.0)
103106 /// }
104107 public init ( _ attachableValue: consuming AttachableValue , named preferredName: String ? = nil , sourceLocation: SourceLocation = #_sourceLocation) {
105108 self . _attachableValue = attachableValue
@@ -194,6 +197,7 @@ extension Attachment where AttachableValue: ~Copyable {
194197extension Attachment : CustomStringConvertible {
195198 /// @Metadata {
196199 /// @Available(Swift, introduced: 6.2)
200+ /// @Available(Xcode, introduced: 26.0)
197201 /// }
198202 public var description : String {
199203 #"" \#( preferredName) ": \#( String ( describingForTest: attachableValue) ) "#
@@ -207,6 +211,7 @@ extension Attachment where AttachableValue: ~Copyable {
207211 ///
208212 /// @Metadata {
209213 /// @Available(Swift, introduced: 6.2)
214+ /// @Available(Xcode, introduced: 26.0)
210215 /// }
211216 @_disfavoredOverload public var attachableValue : AttachableValue {
212217 _read {
@@ -229,6 +234,7 @@ extension Attachment where AttachableValue: AttachableWrapper & ~Copyable {
229234 ///
230235 /// @Metadata {
231236 /// @Available(Swift, introduced: 6.2)
237+ /// @Available(Xcode, introduced: 26.0)
232238 /// }
233239 public var attachableValue : AttachableValue . Wrapped {
234240 _read {
@@ -259,6 +265,7 @@ extension Attachment where AttachableValue: Sendable & Copyable {
259265 ///
260266 /// @Metadata {
261267 /// @Available(Swift, introduced: 6.2)
268+ /// @Available(Xcode, introduced: 26.0)
262269 /// }
263270 @_documentation ( visibility: private)
264271 public static func record( _ attachment: consuming Self , sourceLocation: SourceLocation = #_sourceLocation) {
@@ -291,6 +298,7 @@ extension Attachment where AttachableValue: Sendable & Copyable {
291298 ///
292299 /// @Metadata {
293300 /// @Available(Swift, introduced: 6.2)
301+ /// @Available(Xcode, introduced: 26.0)
294302 /// }
295303 @_documentation ( visibility: private)
296304 public static func record( _ attachableValue: consuming AttachableValue , named preferredName: String ? = nil , sourceLocation: SourceLocation = #_sourceLocation) {
@@ -318,6 +326,7 @@ extension Attachment where AttachableValue: ~Copyable {
318326 ///
319327 /// @Metadata {
320328 /// @Available(Swift, introduced: 6.2)
329+ /// @Available(Xcode, introduced: 26.0)
321330 /// }
322331 public static func record( _ attachment: consuming Self , sourceLocation: SourceLocation = #_sourceLocation) {
323332 do {
@@ -361,6 +370,7 @@ extension Attachment where AttachableValue: ~Copyable {
361370 ///
362371 /// @Metadata {
363372 /// @Available(Swift, introduced: 6.2)
373+ /// @Available(Xcode, introduced: 26.0)
364374 /// }
365375 public static func record( _ attachableValue: consuming AttachableValue , named preferredName: String ? = nil , sourceLocation: SourceLocation = #_sourceLocation) {
366376 record ( Self ( attachableValue, named: preferredName, sourceLocation: sourceLocation) , sourceLocation: sourceLocation)
@@ -389,6 +399,7 @@ extension Attachment where AttachableValue: ~Copyable {
389399 ///
390400 /// @Metadata {
391401 /// @Available(Swift, introduced: 6.2)
402+ /// @Available(Xcode, introduced: 26.0)
392403 /// }
393404 @inlinable public borrowing func withUnsafeBytes< R> ( _ body: ( UnsafeRawBufferPointer ) throws -> R ) throws -> R {
394405 try attachableValue. withUnsafeBytes ( for: self , body)
0 commit comments