Undo questionable changes
This commit is contained in:
parent
66751ea73e
commit
98f30e833a
4 changed files with 25 additions and 24 deletions
|
@ -535,7 +535,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
use rustc_middle::mir::Operand::*;
|
||||
let op = match mir_op {
|
||||
// FIXME: do some more logic on `move` to invalidate the old location
|
||||
&(Copy(place) | Move(place)) => self.eval_place_to_op(place, layout)?,
|
||||
&Copy(place) | &Move(place) => self.eval_place_to_op(place, layout)?,
|
||||
|
||||
Constant(constant) => {
|
||||
let c =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue