Skip to content

Commit d137b28

Browse files
authored
Merge pull request #2965 from ahoppen/diagnostic-severity-equatable
Make `DiagnosticSeverity` conform to `Hashable`
2 parents 3eedb6d + 705e05b commit d137b28

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, Hashable {
3030
case error
3131
case warning
3232
case note

0 commit comments

Comments
 (0)