Skip to content

Commit 92a823a

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents d865ab3 + 658ece3 commit 92a823a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ pub fn report_msg<'tcx>(
569569
let is_local = machine.is_local(frame_info);
570570
// No span for non-local frames and the first frame (which is the error site).
571571
if is_local && idx > 0 {
572-
err.subdiagnostic(err.dcx, frame_info.as_note(machine.tcx));
572+
err.subdiagnostic(frame_info.as_note(machine.tcx));
573573
} else {
574574
let sm = sess.source_map();
575575
let span = sm.span_to_embeddable_string(frame_info.span);

0 commit comments

Comments
 (0)