fn all_diagnostic_items(tcx: TyCtxt<'_>, (): ()) -> DiagnosticItems
Traverse and collect all the diagnostic items in all crates.