Skip to content

Commit 8fa9529

Browse files
committed
Make DiagnosticSeverity conform to Equatable
Fixes #2964
1 parent a84f21d commit 8fa9529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDiagnostics/Message.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public struct MessageID: Hashable, Sendable {
2626
}
2727
}
2828

29-
public enum DiagnosticSeverity: Sendable {
29+
public enum DiagnosticSeverity: Sendable, Equatable {
3030
case error
3131
case warning
3232
case note

0 commit comments

Comments
 (0)