rustc_const_eval::interpret

Function intern_const_alloc_for_constprop

source
pub fn intern_const_alloc_for_constprop<'tcx, T, M: CompileTimeMachine<'tcx, T>>(
    ecx: &mut InterpCx<'tcx, M>,
    alloc_id: AllocId,
) -> InterpResult<'tcx, ()>
Expand description

Intern ret. This function assumes that ret references no other allocation.