mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
72dec56028
In an effort to make it easier to port diagnostics to `SessionDiagnostic` (for translation) and since translation slugs could replace error codes, make error codes optional in the `SessionDiagnostic` derive. Signed-off-by: David Wood <david.wood@huawei.com>