rustc_const_eval::interpret::intern

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.