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.
2 parents d865ab3 + 658ece3 commit 92a823aCopy full SHA for 92a823a
src/diagnostics.rs
@@ -569,7 +569,7 @@ pub fn report_msg<'tcx>(
569
let is_local = machine.is_local(frame_info);
570
// No span for non-local frames and the first frame (which is the error site).
571
if is_local && idx > 0 {
572
- err.subdiagnostic(err.dcx, frame_info.as_note(machine.tcx));
+ err.subdiagnostic(frame_info.as_note(machine.tcx));
573
} else {
574
let sm = sess.source_map();
575
let span = sm.span_to_embeddable_string(frame_info.span);
0 commit comments