Use local and remapped paths where appropriate
This commit is contained in:
parent
fb4f6439f6
commit
5417b45c26
28 changed files with 85 additions and 74 deletions
|
@ -34,12 +34,7 @@ impl<'a> SpanUtils<'a> {
|
|||
.to_string()
|
||||
}
|
||||
}
|
||||
// If the file name was remapped, we assume the user
|
||||
// configured it the way they wanted to, so use that directly
|
||||
FileName::Real(RealFileName::Remapped { local_path: _, virtual_name }) => {
|
||||
virtual_name.display().to_string()
|
||||
}
|
||||
filename => filename.to_string(),
|
||||
filename => filename.prefer_remapped().to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue