Function try_new_allocation

Source
pub(crate) fn try_new_allocation<'tcx>(
    ty: Ty<'tcx>,
    const_value: ConstValue,
    tables: &mut Tables<'tcx, BridgeTys>,
    cx: &CompilerCtxt<'tcx, BridgeTys>,
) -> Result<Allocation, Error>