Function rustc_passes::diagnostic_items::collect_item

source ยท
fn collect_item(
    tcx: TyCtxt<'_>,
    items: &mut DiagnosticItems,
    name: Symbol,
    item_def_id: DefId,
)