Skip to content

Commit 0b7a9dd

Browse files
committed
Make _overrideLifetime transparent. It is a compiler intrinsic.
1 parent b08caff commit 0b7a9dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/LifetimeManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public func _copy<T>(_ value: T) -> T {
290290
@unsafe
291291
@_unsafeNonescapableResult
292292
@_alwaysEmitIntoClient
293-
@inline(__always)
293+
@_transparent
294294
@lifetime(borrow source)
295295
internal func _overrideLifetime<
296296
T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
@@ -308,7 +308,7 @@ internal func _overrideLifetime<
308308
@unsafe
309309
@_unsafeNonescapableResult
310310
@_alwaysEmitIntoClient
311-
@inline(__always)
311+
@_transparent
312312
@lifetime(source)
313313
internal func _overrideLifetime<
314314
T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable

0 commit comments

Comments
 (0)