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 09a3f72 commit 4ccdcdcCopy full SHA for 4ccdcdc
rust-version
@@ -1 +1 @@
1
-nightly-2018-10-22
+nightly-2018-10-29
src/lib.rs
@@ -181,7 +181,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
181
let e = e.to_string();
182
let msg = format!("constant evaluation error: {}", e);
183
let mut err = struct_error(ecx.tcx.tcx.at(span), msg.as_str());
184
- let (frames, span) = ecx.generate_stacktrace(None);
+ let frames = ecx.generate_stacktrace(None);
185
err.span_label(span, e);
186
for FrameInfo { span, location, .. } in frames {
187
err.span_note(span, &format!("inside call to `{}`", location));
0 commit comments