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 ae92e64 commit 39df626Copy full SHA for 39df626
src/tools/miri/src/diagnostics.rs
@@ -616,7 +616,7 @@ pub fn report_msg<'tcx>(
616
err.subdiagnostic(frame_info.as_note(machine.tcx));
617
} else {
618
let sm = sess.source_map();
619
- let span = sm.span_to_embeddable_string(frame_info.span);
+ let span = sm.span_to_diagnostic_string(frame_info.span);
620
err.note(format!("{frame_info} at {span}"));
621
}
622
0 commit comments