Skip to content

Commit 6af3d5c

Browse files
committed
rustup
1 parent 4a98f64 commit 6af3d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
185185
let e = e.to_string();
186186
let msg = format!("constant evaluation error: {}", e);
187187
let mut err = struct_error(ecx.tcx.tcx.at(span), msg.as_str());
188-
let (frames, span) = ecx.generate_stacktrace(None);
188+
let frames = ecx.generate_stacktrace(None);
189189
err.span_label(span, e);
190190
for FrameInfo { span, location, .. } in frames {
191191
err.span_note(span, &format!("inside call to `{}`", location));

0 commit comments

Comments
 (0)