rustup
This commit is contained in:
parent
09a3f7265e
commit
4ccdcdcace
@ -1 +1 @@
|
||||
nightly-2018-10-22
|
||||
nightly-2018-10-29
|
||||
|
@ -181,7 +181,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
|
||||
let e = e.to_string();
|
||||
let msg = format!("constant evaluation error: {}", e);
|
||||
let mut err = struct_error(ecx.tcx.tcx.at(span), msg.as_str());
|
||||
let (frames, span) = ecx.generate_stacktrace(None);
|
||||
let frames = ecx.generate_stacktrace(None);
|
||||
err.span_label(span, e);
|
||||
for FrameInfo { span, location, .. } in frames {
|
||||
err.span_note(span, &format!("inside call to `{}`", location));
|
||||
|
Loading…
x
Reference in New Issue
Block a user