rustc_monomorphize::partitioning

Function partition

Source
fn partition<'tcx, I>(
    tcx: TyCtxt<'tcx>,
    mono_items: I,
    usage_map: &UsageMap<'tcx>,
) -> Vec<CodegenUnit<'tcx>>
where I: Iterator<Item = MonoItem<'tcx>>,