File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ public func _overflowChecked<T>(
253
253
/// and abort.
254
254
/// They are meant to be used when the check is not comprehensively checking for
255
255
/// all possible errors.
256
- @_transparent
257
- public func _debugPrecondition(
256
+ @usableFromInline @ _transparent
257
+ internal func _debugPrecondition(
258
258
_ condition: @autoclosure ( ) -> Bool , _ message: StaticString = StaticString ( ) ,
259
259
file: StaticString = #file, line: UInt = #line
260
260
) {
@@ -267,8 +267,8 @@ public func _debugPrecondition(
267
267
}
268
268
}
269
269
270
- @_transparent
271
- public func _debugPreconditionFailure(
270
+ @usableFromInline @ _transparent
271
+ internal func _debugPreconditionFailure(
272
272
_ message: StaticString = StaticString ( ) ,
273
273
file: StaticString = #file, line: UInt = #line
274
274
) -> Never {
You can’t perform that action at this time.
0 commit comments