Skip to content

Commit 168ca9a

Browse files
Add note about elaborate_drops::InitializationData
1 parent 5860e78 commit 168ca9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_mir/transform/elaborate_drops.rs

+3
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ impl<'b, 'tcx> ElaborateDropsCtxt<'b, 'tcx> {
284284
self.env.param_env
285285
}
286286

287+
// FIXME(ecstaticmorse): This duplicates `dataflow::ResultsCursor` but hardcodes the transfer
288+
// function for `Maybe{Un,}InitializedPlaces` directly. It should be replaced by a a pair of
289+
// `ResultsCursor`s.
287290
fn initialization_data_at(&self, loc: Location) -> InitializationData {
288291
let mut data = InitializationData {
289292
live: self.flow_inits.entry_set_for_block(loc.block).to_owned(),

0 commit comments

Comments
 (0)