Function rustc_monomorphize::partitioning::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>>,