File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
import Dispatch
12
12
13
13
/// The payload of a diagnostic.
14
- public protocol DiagnosticData : CustomStringConvertible {
14
+ public protocol DiagnosticData : Sendable , CustomStringConvertible {
15
15
}
16
16
17
17
extension DiagnosticData {
18
18
public var localizedDescription : String { self . description }
19
19
}
20
20
21
- public protocol DiagnosticLocation : CustomStringConvertible {
21
+ public protocol DiagnosticLocation : Sendable , CustomStringConvertible {
22
22
}
23
23
24
24
public struct Diagnostic : CustomStringConvertible {
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ extension SerializedDiagnostics {
149
149
}
150
150
}
151
151
152
- public struct SourceLocation : Equatable {
152
+ public struct SourceLocation : Equatable , Sendable {
153
153
/// The filename associated with the diagnostic.
154
154
public var filename : String
155
155
public var line : UInt64
You can’t perform that action at this time.
0 commit comments