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.
1 parent 8d76060 commit edf0cacCopy full SHA for edf0cac
src/librustc_borrowck/borrowck/mod.rs
@@ -57,7 +57,7 @@ pub type LoanDataFlow<'a, 'tcx> = DataFlowContext<'a, 'tcx, LoanDataFlowOperator
57
58
pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) {
59
tcx.par_body_owners(|body_owner_def_id| {
60
- tcx.borrowck(body_owner_def_id);
+ tcx.ensure().borrowck(body_owner_def_id);
61
});
62
}
63
0 commit comments