rustc_monomorphize::collector

Function collect_alloc

source
fn collect_alloc<'tcx>(
    tcx: TyCtxt<'tcx>,
    alloc_id: AllocId,
    output: &mut Vec<Spanned<MonoItem<'tcx>>>,
)
Expand description

Scans the CTFE alloc in order to find function pointers and statics that must be monomorphized.