Skip to content

Commit f86c706

Browse files
authored
Merge pull request #498 from RalfJung/rustup
Update for generate_stacktrace return type change
2 parents 09a3f72 + f7741bc commit f86c706

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ cargo_miri = ["cargo_metadata"]
4545
rustc_tests = []
4646

4747
[dev-dependencies]
48-
compiletest_rs = { version = "0.3.12", features = ["tmp"] }
48+
compiletest_rs = { version = "0.3.16", features = ["tmp"] }
4949
colored = "1.6"

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2018-10-22
1+
nightly-2018-10-29

src/lib.rs

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

0 commit comments

Comments
 (0)