Skip to content

Commit 09535a5

Browse files
committed
[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)
1 parent 1ffd09a commit 09535a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/internal_lints/metadata_collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl SerializableSpan {
494494
let loc: Loc = cx.sess().source_map().lookup_char_pos(span.lo());
495495

496496
Self {
497-
path: format!("{}", loc.file.name.prefer_remapped()),
497+
path: format!("{}", loc.file.name.prefer_remapped_unconditionaly()),
498498
line: loc.line,
499499
}
500500
}

0 commit comments

Comments
 (0)