diff options
| author | Ralf Jung <post@ralfj.de> | 2021-07-14 22:10:17 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-07-15 17:14:11 +0200 |
| commit | f4b61ba509e71710df5c14ac282fbdd512344072 (patch) | |
| tree | 6508c060e035d2d3354447eb50a0a84371a6a5a4 /compiler/rustc_mir/src/transform | |
| parent | 8932aebfdfc8e4be18ed5213ba24f72954c7ba47 (diff) | |
| download | rust-f4b61ba509e71710df5c14ac282fbdd512344072.tar.gz rust-f4b61ba509e71710df5c14ac282fbdd512344072.zip | |
adjustions and cleanup to make Miri build again
Diffstat (limited to 'compiler/rustc_mir/src/transform')
| -rw-r--r-- | compiler/rustc_mir/src/transform/const_prop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/transform/const_prop.rs b/compiler/rustc_mir/src/transform/const_prop.rs index 73bbb38a93a..5e2c47be3a2 100644 --- a/compiler/rustc_mir/src/transform/const_prop.rs +++ b/compiler/rustc_mir/src/transform/const_prop.rs @@ -869,7 +869,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> { let alloc = this .ecx .intern_with_temp_alloc(value.layout, |ecx, dest| { - ecx.write_immediate_to_mplace(*imm, dest) + ecx.write_immediate(*imm, dest) }) .unwrap(); Ok(Some(alloc)) |
