Promote feature NonescapableAccessorOnTrivial to be non-experimental

This flag was not experimental for any good reason; it should always be
enabled. The flag only exists so we can introduce a new API:
UnsafeMutablePointer.mutableSpan. Supported compilers cannot handle the new API.

rdar://154247502 (Promote feature NonescapableAccessorOnTrivial to be
non-experimental)

(cherry picked from commit 3dc0e622bac5576bdb29ab343b46f6492dd4b9ff)
This commit is contained in:
Andrew Trick
2025-06-24 18:23:36 -07:00
parent e78d7349d7
commit 8514a4c297
2 changed files with 2 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ import lifetime_dependence
// CHECK: public var span: Swift.Span<Element> {
// CHECK: @lifetime(borrow self)
// CHECK: @_alwaysEmitIntoClient get {
// CHECK: #if compiler(>=5.3) && $LifetimeDependence && $NonescapableAccessorOnTrivial
// CHECK: #if compiler(>=5.3) && $NonescapableAccessorOnTrivial && $LifetimeDependence
// CHECK: public var mutableSpan: Swift.MutableSpan<Element> {
// CHECK: @lifetime(borrow self)
// CHECK: @_alwaysEmitIntoClient get {