rust/compiler/rustc_error_messages
Dylan DPC d8333a7b59
Rollup merge of #97948 - davidtwco:diagnostic-translation-lints, r=oli-obk
lint: add diagnostic translation migration lints

Introduce allow-by-default lints for checking whether diagnostics are written in
`SessionDiagnostic` or `AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation.

These lints are intended to be temporary - once all diagnostics have been changed then we can just change the APIs we have and that will enforce these constraints thereafter.

r? `````@oli-obk`````
2022-06-14 10:35:31 +02:00
..
locales/en-US Deactivate feature gate explicit_generic_args_with_impl_trait 2022-06-06 12:21:49 +01:00
src lint: add diagnostic translation migration lints 2022-06-10 15:50:06 +01:00
Cargo.toml errors: support fluent + parallel compiler 2022-04-05 07:01:03 +01:00