mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
5ba81faba6
Introduce allow-by-default lints for checking whether diagnostics are written in `SessionDiagnostic`/`AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation. Signed-off-by: David Wood <david.wood@huawei.com>