From 705e05bb3a0d3904919180927be63791af3dcaee Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Thu, 13 Feb 2025 16:30:29 -0800 Subject: [PATCH] Make `DiagnosticSeverity` conform to `Hashable` Fixes #2964 rdar://144611943 --- Sources/SwiftDiagnostics/Message.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftDiagnostics/Message.swift b/Sources/SwiftDiagnostics/Message.swift index ea2451fdc3f..5258b794e5b 100644 --- a/Sources/SwiftDiagnostics/Message.swift +++ b/Sources/SwiftDiagnostics/Message.swift @@ -26,7 +26,7 @@ public struct MessageID: Hashable, Sendable { } } -public enum DiagnosticSeverity: Sendable { +public enum DiagnosticSeverity: Sendable, Hashable { case error case warning case note