We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MessageID
DiagnosticSeverity
Sendable
1 parent 49b3bbd commit f884d06Copy full SHA for f884d06
Sources/SwiftDiagnostics/Message.swift
@@ -16,7 +16,7 @@
16
/// Two diagnostics with the same ID don’t need to necessarily have the exact
17
/// same wording. Eg. it’s possible that the message contains more context when
18
/// available.
19
-public struct MessageID: Hashable {
+public struct MessageID: Hashable, Sendable {
20
private let domain: String
21
private let id: String
22
@@ -26,7 +26,7 @@ public struct MessageID: Hashable {
26
}
27
28
29
-public enum DiagnosticSeverity {
+public enum DiagnosticSeverity: Sendable {
30
case error
31
case warning
32
case note
0 commit comments