rustc_const_eval::const_eval::valtrees

Function valtree_to_ref

source
fn valtree_to_ref<'tcx>(
    ecx: &mut CompileTimeInterpCx<'tcx>,
    valtree: ValTree<'tcx>,
    pointee_ty: Ty<'tcx>,
) -> Immediate
Expand description

Put a valtree into memory and return a reference to that.