Stop using the gen keyword in the compiler

This commit is contained in:
Michael Goulet 2024-07-14 13:50:27 -04:00
parent 88fa119c77
commit dc20733913
10 changed files with 53 additions and 50 deletions

View file

@ -553,7 +553,7 @@ impl<'tcx> rustc_mir_dataflow::GenKillAnalysis<'tcx> for Borrows<'_, '_, 'tcx> {
panic!("could not find BorrowIndex for location {location:?}");
});
trans.gen(index);
trans.gen_(index);
}
// Make sure there are no remaining borrows for variables