Function rustc_mir::monomorphize::collector::collect_neighbours[−][src]

fn collect_neighbours<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: Instance<'tcx>,
    output: &mut Vec<Spanned<MonoItem<'tcx>>>
)

Scans the MIR in order to find function calls, closures, and drop-glue.