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.
2 parents 06b4179 + f884d06 commit 7f67403Copy full SHA for 7f67403
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