Skip to content

Commit

Permalink
Auto merge of #1327 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup
  • Loading branch information
bors committed Apr 12, 2020
2 parents 85dff8b + 91d7964 commit 4545eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0c835b0cca83fe21090562603e4bda77c183ace3
4d1fbaccb822b6d52dc786589de7918d3c5effb1
2 changes: 1 addition & 1 deletion src/bin/miri-rustc-tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
.any(|attr| attr.check_name(rustc_span::symbol::sym::test))
{
let config = miri::MiriConfig::default();
let did = self.0.hir().body_owner_def_id(body_id);
let did = self.0.hir().body_owner_def_id(body_id).to_def_id();
println!("running test: {}", self.0.def_path_debug_str(did));
miri::eval_main(self.0, did, config);
self.0.sess.abort_if_errors();
Expand Down

0 comments on commit 4545eff

Please sign in to comment.