Use RealFileName for Session::working_dir as it may also be remapped
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user