1
Fork 0

Merge un_derefer into MovePathLookup

This commit is contained in:
DrMeepster 2023-06-21 00:39:13 -07:00
parent 330727467b
commit 4fbd6d5af4
8 changed files with 138 additions and 137 deletions

View file

@ -34,7 +34,7 @@ impl<'tcx> MirPass<'tcx> for SanityCheck {
}
let param_env = tcx.param_env(def_id);
let (_, move_data) = MoveData::gather_moves(body, tcx, param_env).unwrap();
let move_data = MoveData::gather_moves(body, tcx, param_env).unwrap();
let mdpe = MoveDataParamEnv { move_data, param_env };
if has_rustc_mir_with(tcx, def_id, sym::rustc_peek_maybe_init).is_some() {