Use RealFileName for Session::working_dir as it may also be remapped
This commit is contained in:
parent
9e0426d784
commit
0407919083
6 changed files with 15 additions and 11 deletions
|
@ -26,7 +26,7 @@ impl<'a> SpanUtils<'a> {
|
|||
.display()
|
||||
.to_string()
|
||||
} else {
|
||||
self.sess.working_dir.0.join(&path).display().to_string()
|
||||
self.sess.working_dir.stable_name().join(&path).display().to_string()
|
||||
}
|
||||
}
|
||||
// If the file name was remapped, we assume the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue