make MPlaceTy non-Copy
This commit is contained in:
parent
77ff1b83cd
commit
da3f0d0eb7
11 changed files with 28 additions and 28 deletions
|
@ -476,7 +476,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
if let Some(val) = self.read_immediate_from_mplace_raw(mplace)? {
|
||||
Right(val)
|
||||
} else {
|
||||
Left(*mplace)
|
||||
Left(mplace.clone())
|
||||
}
|
||||
}
|
||||
Right(val) => Right(val),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue