@@ -353,7 +353,7 @@ public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceable
353353 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
354354 @_alwaysEmitIntoClient
355355 public var bytes : RawSpan {
356- @lifetime ( borrow self)
356+ @_lifetime ( borrow self)
357357 borrowing get {
358358 let buffer : UnsafeRawBufferPointer
359359 switch _representation {
@@ -381,7 +381,7 @@ public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceable
381381 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
382382 @_alwaysEmitIntoClient
383383 public var span : Span < UInt8 > {
384- @lifetime ( borrow self)
384+ @_lifetime ( borrow self)
385385 borrowing get {
386386 let span = unsafe bytes. _unsafeView ( as: UInt8 . self)
387387 return _overrideLifetime ( span, borrowing: self )
@@ -391,7 +391,7 @@ public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceable
391391 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
392392 @_alwaysEmitIntoClient
393393 public var mutableBytes : MutableRawSpan {
394- @lifetime ( & self )
394+ @_lifetime ( & self )
395395 mutating get {
396396 let buffer : UnsafeMutableRawBufferPointer
397397 switch _representation {
@@ -427,7 +427,7 @@ public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceable
427427 @available ( macOS 10 . 14 . 4 , iOS 12 . 2 , watchOS 5 . 2 , tvOS 12 . 2 , * )
428428 @_alwaysEmitIntoClient
429429 public var mutableSpan : MutableSpan < UInt8 > {
430- @lifetime ( & self )
430+ @_lifetime ( & self )
431431 mutating get {
432432#if false // see https://github.com/swiftlang/swift/issues/81218
433433 var bytes = mutableBytes
0 commit comments