Revert "Add support for inout lifetime dependence"

This commit is contained in:
Artem Chikin
2025-04-04 09:00:09 -07:00
committed by GitHub
parent 9148ae32bd
commit 39e1791b67
26 changed files with 159 additions and 254 deletions

View File

@@ -1244,7 +1244,7 @@ extension ContiguousArray {
@available(SwiftStdlib 6.2, *)
public var mutableSpan: MutableSpan<Element> {
@lifetime(&self)
@lifetime(/*inout*/borrow self)
@_alwaysEmitIntoClient
mutating get {
_makeMutableAndUnique()