Function rustc_monomorphize::collector::collect_used_items
source · fn collect_used_items<'tcx>(
tcx: TyCtxt<'tcx>,
instance: Instance<'tcx>,
output: &mut Vec<Spanned<MonoItem<'tcx>>>
)
Expand description
Scans the MIR in order to find function calls, closures, and drop-glue.