From aa9177fec6b080024ffaf6e287cd3dc25bbad9b5 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 15 Dec 2017 09:54:53 +0100 Subject: [PATCH] Also update rustc_tests to unrelated rustc changes --- rustc_tests/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustc_tests/src/main.rs b/rustc_tests/src/main.rs index 819721c1cd0f..29b2dc2b7a42 100644 --- a/rustc_tests/src/main.rs +++ b/rustc_tests/src/main.rs @@ -90,7 +90,7 @@ fn after_analysis<'a, 'tcx>(state: &mut CompileState<'a, 'tcx>) { if let hir::Item_::ItemFn(_, _, _, _, _, body_id) = i.node { if i.attrs.iter().any(|attr| attr.name().map_or(false, |n| n == "test")) { let did = self.1.hir.body_owner_def_id(body_id); - println!("running test: {}", self.1.hir.def_path(did).to_string(self.1)); + println!("running test: {}", self.1.def_path_debug_str(did)); miri::eval_main(self.1, did, None, self.0); self.2.session.abort_if_errors(); }