1
Fork 0

Rename lint pass.

This commit is contained in:
Camille GILLOT 2023-10-01 13:49:19 +00:00
parent 7e1ecff56e
commit b1bef90d4f
2 changed files with 7 additions and 7 deletions

View file

@ -494,7 +494,7 @@ fn run_runtime_lowering_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
&elaborate_box_derefs::ElaborateBoxDerefs,
&generator::StateTransform,
&add_retag::AddRetag,
&Lint(const_prop_lint::ConstProp),
&Lint(const_prop_lint::ConstPropLint),
];
pm::run_passes_no_validate(tcx, body, passes, Some(MirPhase::Runtime(RuntimePhase::Initial)));
}