rustc_errors::diagnostics::Diagnostic codes

Found this proposal Pre-RFC: fully structured rustc diagnostics towards l10n But looks like there are no interest in this topic.