rustc_smir::rustc_smir::alloc

Function new_allocation

Source
pub(crate) fn new_allocation<'tcx>(
    ty: Ty<'tcx>,
    const_value: ConstValue<'tcx>,
    tables: &mut Tables<'tcx>,
) -> Allocation