Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 773b25a

Browse files
committed
Rustup to the latest nightly
1 parent aa4e42f commit 773b25a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/changes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ impl<'a> Serialize for RSpan<'a> {
8787
let hi = self.0.source_map().lookup_char_pos(self.1.hi());
8888

8989
assert!(lo.file.name == hi.file.name);
90-
let file_name = if let FileName::Real(ref p) = lo.file.name {
91-
format!("{}", p.display())
90+
let file_name = if let FileName::Real(ref name) = lo.file.name {
91+
format!("{}", name.local_path().display())
9292
} else {
9393
"no file name".to_owned()
9494
};

0 commit comments

Comments
 (0)