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.