@@ -42,14 +42,14 @@ impl<'tcx> MirPass<'tcx> for ElaborateDrops {
42
42
let dead_unwinds = find_dead_unwinds ( tcx, body, def_id, & env) ;
43
43
44
44
let inits = MaybeInitializedPlaces :: new ( tcx, body, & env)
45
- . mark_inactive_variants_as_uninit ( true )
45
+ . mark_inactive_variants_as_uninit ( false )
46
46
. into_engine ( tcx, body, def_id)
47
47
. dead_unwinds ( & dead_unwinds)
48
48
. iterate_to_fixpoint ( )
49
49
. into_results_cursor ( body) ;
50
50
51
51
let uninits = MaybeUninitializedPlaces :: new ( tcx, body, & env)
52
- . mark_inactive_variants_as_uninit ( true )
52
+ . mark_inactive_variants_as_uninit ( false )
53
53
. into_engine ( tcx, body, def_id)
54
54
. dead_unwinds ( & dead_unwinds)
55
55
. iterate_to_fixpoint ( )
@@ -83,7 +83,7 @@ fn find_dead_unwinds<'tcx>(
83
83
// reach cleanup blocks, which can't have unwind edges themselves.
84
84
let mut dead_unwinds = BitSet :: new_empty ( body. basic_blocks ( ) . len ( ) ) ;
85
85
let mut flow_inits = MaybeInitializedPlaces :: new ( tcx, body, & env)
86
- . mark_inactive_variants_as_uninit ( true )
86
+ . mark_inactive_variants_as_uninit ( false )
87
87
. into_engine ( tcx, body, def_id)
88
88
. iterate_to_fixpoint ( )
89
89
. into_results_cursor ( body) ;
0 commit comments