File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
compiler/rustc_mir_transform/src Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -524,11 +524,8 @@ fn run_runtime_lowering_passes<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
524
524
525
525
/// Returns the sequence of passes that do the initial cleanup of runtime MIR.
526
526
fn run_runtime_cleanup_passes < ' tcx > ( tcx : TyCtxt < ' tcx > , body : & mut Body < ' tcx > ) {
527
- let passes: & [ & dyn MirPass < ' tcx > ] = & [
528
- & elaborate_box_derefs:: ElaborateBoxDerefs ,
529
- & lower_intrinsics:: LowerIntrinsics ,
530
- & simplify:: SimplifyCfg :: new ( "elaborate-drops" ) ,
531
- ] ;
527
+ let passes: & [ & dyn MirPass < ' tcx > ] =
528
+ & [ & lower_intrinsics:: LowerIntrinsics , & simplify:: SimplifyCfg :: new ( "elaborate-drops" ) ] ;
532
529
533
530
pm:: run_passes ( tcx, body, passes, Some ( MirPhase :: Runtime ( RuntimePhase :: PostCleanup ) ) ) ;
534
531
}
You can’t perform that action at this time.
0 commit comments