Skip to content

Commit 8d1e117

Browse files
committed
fix benches
1 parent f06e25f commit 8d1e117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: benches/helpers/miri_helper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn run(filename: &str, bencher: &mut Bencher) {
4747
let (entry_node_id, _, _) = state.session.entry_fn.borrow().expect(
4848
"no main or start function found",
4949
);
50-
let entry_def_id = tcx.hir.local_def_id(entry_node_id);
50+
let entry_def_id = tcx.hir().local_def_id(entry_node_id);
5151

5252
bencher.borrow_mut().iter(|| {
5353
eval_main(tcx, entry_def_id, false);

0 commit comments

Comments
 (0)