Function rustc_smir::rustc_smir::alloc::try_new_allocation
source · pub fn try_new_allocation<'tcx>(
ty: Ty<'tcx>,
const_value: ConstValue<'tcx>,
tables: &mut Tables<'tcx>
) -> Result<Allocation, Error>