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.
2 parents 85dff8b + 91d7964 commit 4545effCopy full SHA for 4545eff
rust-version
@@ -1 +1 @@
1
-0c835b0cca83fe21090562603e4bda77c183ace3
+4d1fbaccb822b6d52dc786589de7918d3c5effb1
src/bin/miri-rustc-tests.rs
@@ -41,7 +41,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
41
.any(|attr| attr.check_name(rustc_span::symbol::sym::test))
42
{
43
let config = miri::MiriConfig::default();
44
- 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();
45
println!("running test: {}", self.0.def_path_debug_str(did));
46
miri::eval_main(self.0, did, config);
47
self.0.sess.abort_if_errors();
0 commit comments