Function miri::intern_const_alloc_for_constprop
source · pub fn intern_const_alloc_for_constprop<'mir, 'tcx, T, M>(
ecx: &mut InterpCx<'mir, 'tcx, M>,
alloc_id: AllocId
) -> Result<(), InterpErrorInfo<'tcx>>where
'tcx: 'mir,
M: CompileTimeMachine<'mir, 'tcx, T>,
Expand description
Intern ret
. This function assumes that ret
references no other allocation.