Skip to content

Commit a39ee13

Browse files
committed
Concurrency: swift_deletedAsyncMethodError() should be internal.
This function is an implementation detail of the runtime, not something that clients of the _Concurrency library should be able to directly name. Make it `@usableFromInline internal` instead of `public` so that it remains as ABI but doesn't show up in auto-complete or documentation.
1 parent fc52f2f commit a39ee13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Errors.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ import Swift
1515

1616
@available(SwiftStdlib 5.1, *)
1717
@_silgen_name("swift_deletedAsyncMethodError")
18-
public func swift_deletedAsyncMethodError() async {
18+
@usableFromInline internal func swift_deletedAsyncMethodError() async {
1919
fatalError("Fatal error: Call of deleted method")
2020
}

0 commit comments

Comments
 (0)