rustc_monomorphize::collector

Function visit_fn_use

Source
fn visit_fn_use<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
    is_direct_call: bool,
    source: Span,
    output: &mut Vec<Spanned<MonoItem<'tcx>>>,
)
Expand description

For every call of this function in the visitor, make sure there is a matching call in the mentioned_items pass!