@@ -2212,7 +2212,7 @@ public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollect
22122212 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
22132213 @_alwaysEmitIntoClient
22142214 public var bytes : RawSpan {
2215- @lifetime ( borrow self)
2215+ @_lifetime ( borrow self)
22162216 borrowing get {
22172217 let buffer : UnsafeRawBufferPointer
22182218 switch _representation {
@@ -2240,7 +2240,7 @@ public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollect
22402240 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
22412241 @_alwaysEmitIntoClient
22422242 public var span : Span < UInt8 > {
2243- @lifetime ( borrow self)
2243+ @_lifetime ( borrow self)
22442244 borrowing get {
22452245 let span = unsafe bytes. _unsafeView ( as: UInt8 . self)
22462246 return _overrideLifetime ( span, borrowing: self )
@@ -2250,7 +2250,7 @@ public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollect
22502250 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
22512251 @_alwaysEmitIntoClient
22522252 public var mutableBytes : MutableRawSpan {
2253- @lifetime ( & self )
2253+ @_lifetime ( & self )
22542254 mutating get {
22552255 let buffer : UnsafeMutableRawBufferPointer
22562256 switch _representation {
@@ -2286,7 +2286,7 @@ public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollect
22862286 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
22872287 @_alwaysEmitIntoClient
22882288 public var mutableSpan : MutableSpan < UInt8 > {
2289- @lifetime ( & self )
2289+ @_lifetime ( & self )
22902290 mutating get {
22912291#if false // see https://github.com/swiftlang/swift/issues/81218
22922292 var bytes = mutableBytes
0 commit comments