Skip to content

Commit 314f7f2

Browse files
committed
Auto merge of #3685 - rust-lang:rustup-2024-06-19, r=RalfJung
Automatic Rustup
2 parents 606e143 + 92a823a commit 314f7f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c2932aaf9d20acbc9259c762f1a06f8767c6f13f
1+
a1ca449981e3b8442e358026437b7bedb9a1458e

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)