Use local and remapped paths where appropriate
This commit is contained in:
@@ -468,7 +468,7 @@ impl DiagnosticSpan {
|
||||
});
|
||||
|
||||
DiagnosticSpan {
|
||||
file_name: start.file.name.to_string(),
|
||||
file_name: start.file.name.prefer_local().to_string(),
|
||||
byte_start: start.file.original_relative_byte_pos(span.lo()).0,
|
||||
byte_end: start.file.original_relative_byte_pos(span.hi()).0,
|
||||
line_start: start.line,
|
||||
|
||||
Reference in New Issue
Block a user