Add a doc comment for eval_mir_constant
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
245afd7896
commit
c8a675d752
1 changed files with 2 additions and 0 deletions
|
@ -512,6 +512,8 @@ pub trait Machine<'mir, 'tcx: 'mir>: Sized {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Evaluate the given constant. The `eval` function will do all the required evaluation,
|
||||
/// but this hook has the chance to do some pre/postprocessing.
|
||||
#[inline(always)]
|
||||
fn eval_mir_constant<F>(
|
||||
ecx: &InterpCx<'mir, 'tcx, Self>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue