diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-14 13:50:27 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-14 14:01:01 -0400 |
| commit | dc207339137a766d7f45590a97cfa0f2a0314e2f (patch) | |
| tree | dbb6b1f0106482c49a7a3e4cda33a5e88985ab0b /compiler/rustc_borrowck/src/dataflow.rs | |
| parent | 88fa119c77682e6d55ce21001cf761675cfebeae (diff) | |
| download | rust-dc207339137a766d7f45590a97cfa0f2a0314e2f.tar.gz rust-dc207339137a766d7f45590a97cfa0f2a0314e2f.zip | |
Stop using the gen keyword in the compiler
Diffstat (limited to 'compiler/rustc_borrowck/src/dataflow.rs')
| -rw-r--r-- | compiler/rustc_borrowck/src/dataflow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/dataflow.rs b/compiler/rustc_borrowck/src/dataflow.rs index 00a30dc2240..59b3c6916cb 100644 --- a/compiler/rustc_borrowck/src/dataflow.rs +++ b/compiler/rustc_borrowck/src/dataflow.rs @@ -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 |
