Function rustc_monomorphize::collector::collect_items_rec
source · fn collect_items_rec<'tcx>(
tcx: TyCtxt<'tcx>,
starting_item: Spanned<MonoItem<'tcx>>,
visited: MTLockRef<'_, FxHashSet<MonoItem<'tcx>>>,
recursion_depths: &mut DefIdMap<usize>,
recursion_limit: Limit,
usage_map: MTLockRef<'_, UsageMap<'tcx>>
)
Expand description
Collect all monomorphized items reachable from starting_point
, and emit a note diagnostic if a
post-monomorphization error is encountered during a collection step.