mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix swiftinterface printing of accessors and inferred lifetime dependencies when Lifetimes feature is enabled
This commit is contained in:
@@ -77,3 +77,15 @@ extension Container {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public struct RigidArray : ~Copyable {
|
||||
@usableFromInline let _ptr: UnsafeRawBufferPointer
|
||||
|
||||
public var span: RawSpan {
|
||||
@_lifetime(borrow self)
|
||||
get {
|
||||
return RawSpan(_unsafeBytes: _ptr)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user