Skip to content

Commit 47f80b9

Browse files
committed
Add a FIXME
1 parent f014e91 commit 47f80b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_mir_transform/src/coroutine/by_move_body.rs

+1
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ impl<'tcx> MirPass<'tcx> for ByMoveBody {
233233
let mut by_move_body = body.clone();
234234
MakeByMoveBody { tcx, field_remapping, by_move_coroutine_ty }.visit_body(&mut by_move_body);
235235
dump_mir(tcx, false, "coroutine_by_move", &0, &by_move_body, |_, _| Ok(()));
236+
// FIXME: use query feeding to generate the body right here and then only store the ``DefId` of the new body.`
236237
by_move_body.source = mir::MirSource::from_instance(InstanceDef::CoroutineKindShim {
237238
coroutine_def_id: coroutine_def_id.to_def_id(),
238239
});

0 commit comments

Comments
 (0)