Auto merge of #60937 - RalfJung:miri, r=oli-obk
update Miri r? @oli-obk
This commit is contained in:
commit
ce41e48362
@ -613,7 +613,9 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'a, 'mir, 'tcx>> InterpretCx<'a, 'mir, 'tc
|
||||
trace!("{:?} is now live", local);
|
||||
|
||||
let local_val = LocalValue::Uninitialized;
|
||||
// StorageLive *always* kills the value that's currently stored
|
||||
// StorageLive *always* kills the value that's currently stored.
|
||||
// However, we do not error if the variable already is live;
|
||||
// see <https://github.com/rust-lang/rust/issues/42371>.
|
||||
Ok(mem::replace(&mut self.frame_mut().locals[local].value, local_val))
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit bc0c76d861a178911f3f506196a7404eda1e690d
|
||||
Subproject commit 37b2eea7144d022702f0d2eedcc4c776db15d078
|
Loading…
Reference in New Issue
Block a user