mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)
This commit is contained in:
parent
1ffd09af29
commit
09535a5d30
@ -494,7 +494,7 @@ impl SerializableSpan {
|
||||
let loc: Loc = cx.sess().source_map().lookup_char_pos(span.lo());
|
||||
|
||||
Self {
|
||||
path: format!("{}", loc.file.name.prefer_remapped()),
|
||||
path: format!("{}", loc.file.name.prefer_remapped_unconditionaly()),
|
||||
line: loc.line,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user