File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111import Dispatch
1212
1313/// The payload of a diagnostic.
14- public protocol DiagnosticData : CustomStringConvertible {
14+ public protocol DiagnosticData : Sendable , CustomStringConvertible {
1515}
1616
1717extension DiagnosticData {
1818 public var localizedDescription : String { self . description }
1919}
2020
21- public protocol DiagnosticLocation : CustomStringConvertible {
21+ public protocol DiagnosticLocation : Sendable , CustomStringConvertible {
2222}
2323
2424public struct Diagnostic : CustomStringConvertible {
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ extension SerializedDiagnostics {
149149 }
150150 }
151151
152- public struct SourceLocation : Equatable {
152+ public struct SourceLocation : Equatable , Sendable {
153153 /// The filename associated with the diagnostic.
154154 public var filename : String
155155 public var line : UInt64
You can’t perform that action at this time.
0 commit comments