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 4a98f64 commit 6af3d5cCopy full SHA for 6af3d5c
src/lib.rs
@@ -185,7 +185,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
185
let e = e.to_string();
186
let msg = format!("constant evaluation error: {}", e);
187
let mut err = struct_error(ecx.tcx.tcx.at(span), msg.as_str());
188
- let (frames, span) = ecx.generate_stacktrace(None);
+ let frames = ecx.generate_stacktrace(None);
189
err.span_label(span, e);
190
for FrameInfo { span, location, .. } in frames {
191
err.span_note(span, &format!("inside call to `{}`", location));
0 commit comments