rustc_passes::diagnostic_items

Function collect_item

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