Function rustc_const_eval::interpret::util::create_static_alloc

source ·
pub(crate) fn create_static_alloc<'mir, 'tcx: 'mir>(
    ecx: &mut InterpCx<'mir, 'tcx, CompileTimeInterpreter<'mir, 'tcx>>,
    static_def_id: LocalDefId,
    layout: TyAndLayout<'tcx>
) -> InterpResult<'tcx, MPlaceTy<'tcx>>