File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ extension DiagnosticConverter {
323
323
// emit notes with those fix-its.
324
324
private static func fixIt(
325
325
from diagnostic: borrowing some AnyDiagnostic ,
326
- in sourceFile: borrowing SourceFile
326
+ in sourceFile: /* borrowing*/ SourceFile
327
327
) throws -> SwiftDiagnostics . FixIt {
328
328
let changes = try diagnostic. fixIts. map { fixIt in
329
329
let startPosition = try sourceFile. position ( of: fixIt. start)
@@ -341,7 +341,7 @@ extension DiagnosticConverter {
341
341
342
342
private static func highlights(
343
343
from diagnostic: borrowing some AnyDiagnostic ,
344
- in sourceFile: borrowing SourceFile
344
+ in sourceFile: /* borrowing*/ SourceFile
345
345
) throws -> [ Syntax ] {
346
346
try diagnostic. ranges. map { startLocation, endLocation in
347
347
let startPosition = try sourceFile. position ( of: startLocation)
You can’t perform that action at this time.
0 commit comments