Skip to content

Commit 0aaaa60

Browse files
authored
Merge pull request #76288 from tshortli/make-swift-deleted-async-error-method-internal
Concurrency: `swift_deletedAsyncMethodError()` should be `internal`
2 parents 9d3c265 + a39ee13 commit 0aaaa60

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)