Skip to content

Commit 2fac858

Browse files
committed
stdlib: @_versioned was renamed to @usableFromInline
1 parent fac394c commit 2fac858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/AssertCommon.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ internal func _assertionFailure(
142142
///
143143
/// This function should not be inlined because it is cold and inlining just
144144
/// bloats code.
145-
@_versioned // FIXME(sil-serialize-all)
145+
@usableFromInline // FIXME(sil-serialize-all)
146146
@inline(never)
147147
internal func _assertionFailure(
148148
_ prefix: StaticString, _ message: String,
@@ -271,7 +271,7 @@ func _undefined<T>(
271271
/// bloats code. It doesn't take a source location because it's most important
272272
/// in release builds anyway (old apps that are run on new OSs).
273273
@inline(never)
274-
@_versioned // COMPILER_INTRINSIC
274+
@usableFromInline // COMPILER_INTRINSIC
275275
internal func _diagnoseUnexpectedEnumCaseValue<SwitchedValue, RawValue>(
276276
type: SwitchedValue.Type,
277277
rawValue: RawValue
@@ -288,7 +288,7 @@ internal func _diagnoseUnexpectedEnumCaseValue<SwitchedValue, RawValue>(
288288
/// bloats code. It doesn't take a source location because it's most important
289289
/// in release builds anyway (old apps that are run on new OSs).
290290
@inline(never)
291-
@_versioned // COMPILER_INTRINSIC
291+
@usableFromInline // COMPILER_INTRINSIC
292292
internal func _diagnoseUnexpectedEnumCase<SwitchedValue>(
293293
type: SwitchedValue.Type
294294
) -> Never {

0 commit comments

Comments
 (0)