Skip to content

Commit f0e97fd

Browse files
nia-eRalfJung
andauthored
Update compiler/rustc_const_eval/src/interpret/machine.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 179f5de commit f0e97fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_const_eval/src/interpret/machine.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,8 @@ pub trait Machine<'tcx>: Sized {
629629
Cow::Owned(compute_range())
630630
}
631631

632+
/// Compute the value passed to the constructors of the `AllocBytes` type for
633+
/// abstract machine allocations.
632634
fn get_default_alloc_params(&self) -> <Self::Bytes as AllocBytes>::AllocParams;
633635
}
634636

0 commit comments

Comments
 (0)