[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)

This commit is contained in:
Urgau 2023-08-23 17:58:21 +02:00
parent 1ffd09af29
commit 09535a5d30

View File

@ -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,
}
}