Skip to content

Commit ee229f7

Browse files
committed
Use ensure for mir_borrowck
1 parent 0e2ad51 commit ee229f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ where
12831283

12841284
time(sess,
12851285
"MIR borrow checking",
1286-
|| tcx.par_body_owners(|def_id| { tcx.mir_borrowck(def_id); }));
1286+
|| tcx.par_body_owners(|def_id| { tcx.ensure().mir_borrowck(def_id); }));
12871287

12881288
time(sess, "dumping chalk-like clauses", || {
12891289
rustc_traits::lowering::dump_program_clauses(tcx);

0 commit comments

Comments
 (0)