Skip to content

Commit 8ccacd9

Browse files
committed
[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)
1 parent cf54bbb commit 8ccacd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
135135
this.tcx.sess.source_map().lookup_char_pos(BytePos(offset.bytes().try_into().unwrap()));
136136

137137
let name = fn_instance.to_string();
138-
let filename = lo.file.name.prefer_remapped().to_string();
138+
let filename = lo.file.name.prefer_remapped_unconditionaly().to_string();
139139

140140
Ok((fn_instance, lo, name, filename))
141141
}

0 commit comments

Comments
 (0)