We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 799eecf commit d5b1a0cCopy full SHA for d5b1a0c
src/tools/miri/src/diagnostics.rs
@@ -627,7 +627,7 @@ pub fn report_msg<'tcx>(
627
err.subdiagnostic(frame_info.as_note(machine.tcx));
628
} else {
629
let sm = sess.source_map();
630
- let span = sm.span_to_embeddable_string(frame_info.span);
+ let span = sm.span_to_diagnostic_string(frame_info.span);
631
err.note(format!("{frame_info} at {span}"));
632
}
633
0 commit comments