Skip to content

Commit

Permalink
[RFC 3127 - Trim Paths]: Fix building tools (rustdoc, clippy, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Oct 17, 2023
1 parent cf54bbb commit 8ccacd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shims/backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
this.tcx.sess.source_map().lookup_char_pos(BytePos(offset.bytes().try_into().unwrap()));

let name = fn_instance.to_string();
let filename = lo.file.name.prefer_remapped().to_string();
let filename = lo.file.name.prefer_remapped_unconditionaly().to_string();

Ok((fn_instance, lo, name, filename))
}
Expand Down

0 comments on commit 8ccacd9

Please sign in to comment.