Function rustc_passes::reachable::check_item

source ยท
fn check_item<'tcx>(
    tcx: TyCtxt<'tcx>,
    id: ItemId,
    worklist: &mut Vec<LocalDefId>,
    effective_visibilities: &EffectiveVisibilities,
)