Merge un_derefer
into MovePathLookup
This commit is contained in:
parent
330727467b
commit
4fbd6d5af4
8 changed files with 138 additions and 137 deletions
|
@ -222,7 +222,7 @@ fn do_mir_borrowck<'tcx>(
|
|||
|
||||
let (move_data, move_errors): (MoveData<'tcx>, Vec<(Place<'tcx>, MoveError<'tcx>)>) =
|
||||
match MoveData::gather_moves(&body, tcx, param_env) {
|
||||
Ok((_, move_data)) => (move_data, Vec::new()),
|
||||
Ok(move_data) => (move_data, Vec::new()),
|
||||
Err((move_data, move_errors)) => (move_data, move_errors),
|
||||
};
|
||||
let promoted_errors = promoted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue