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 606e143 + 92a823a commit 314f7f2Copy full SHA for 314f7f2
rust-version
@@ -1 +1 @@
1
-c2932aaf9d20acbc9259c762f1a06f8767c6f13f
+a1ca449981e3b8442e358026437b7bedb9a1458e
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