Skip to content

Commit

Permalink
Make DiagnosticSeverity conform to Hashable
Browse files Browse the repository at this point in the history
Fixes #2964
rdar://144611943
  • Loading branch information
ahoppen committed Feb 14, 2025
1 parent a84f21d commit 705e05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDiagnostics/Message.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public struct MessageID: Hashable, Sendable {
}
}

public enum DiagnosticSeverity: Sendable {
public enum DiagnosticSeverity: Sendable, Hashable {
case error
case warning
case note
Expand Down

0 comments on commit 705e05b

Please sign in to comment.