1
Fork 0

Remove in_band_lifetimes from rustc_mir_dataflow

See #91867 for more information.
This commit is contained in:
LegionMammal978 2021-12-14 12:02:45 -05:00 committed by Matthew House
parent 1d01550f7e
commit fed881aafc
13 changed files with 70 additions and 60 deletions

View file

@ -704,7 +704,7 @@ impl<'tcx> GenKillAnalysis<'tcx> for EverInitializedPlaces<'_, 'tcx> {
///
/// If the basic block matches this pattern, this function returns the place corresponding to the
/// enum (`_1` in the example above) as well as the `AdtDef` of that enum.
fn switch_on_enum_discriminant(
fn switch_on_enum_discriminant<'mir, 'tcx>(
tcx: TyCtxt<'tcx>,
body: &'mir mir::Body<'tcx>,
block: &'mir mir::BasicBlockData<'tcx>,