make MPlaceTy non-Copy
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user