diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-09 13:50:39 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-09 13:53:40 +0100 |
| commit | 16e869a678312b16c2e97461f144ce63ef5309bc (patch) | |
| tree | ab2991f3246d8a4163b658d4108e7a6f9ef4cb02 /compiler/rustc_const_eval/src/interpret/machine.rs | |
| parent | 79d246112dc95bbd67848f7546f3fd1aca516b82 (diff) | |
| download | rust-16e869a678312b16c2e97461f144ce63ef5309bc.tar.gz rust-16e869a678312b16c2e97461f144ce63ef5309bc.zip | |
interpret: pass Size and Align to before_memory_deallocation
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/machine.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/machine.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/machine.rs b/compiler/rustc_const_eval/src/interpret/machine.rs index ee5de44a651..1b9a96ec321 100644 --- a/compiler/rustc_const_eval/src/interpret/machine.rs +++ b/compiler/rustc_const_eval/src/interpret/machine.rs @@ -433,7 +433,8 @@ pub trait Machine<'mir, 'tcx: 'mir>: Sized { _machine: &mut Self, _alloc_extra: &mut Self::AllocExtra, _prov: (AllocId, Self::ProvenanceExtra), - _range: AllocRange, + _size: Size, + _align: Align, ) -> InterpResult<'tcx> { Ok(()) } |
