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

pub(in monomorphize::collector) 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.