fn diagnostic_items(tcx: TyCtxt<'_>, cnum: CrateNum) -> DiagnosticItems
Expand description

Traverse and collect the diagnostic items in the current