rust/compiler/rustc_feature/src
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
..
accepted.rs Rollup merge of #96868 - nrc:turbo-stable, r=jhpratt,nbdd0121,nagisa 2022-06-11 07:42:12 +02:00
active.rs Rollup merge of #97999 - compiler-errors:type_changin_struct_update_is_probably_complete, r=oli-obk 2022-06-13 21:35:56 +02:00
builtin_attrs.rs lint: add diagnostic translation migration lints 2022-06-10 15:50:06 +01:00
lib.rs Finish bumping stage0 2022-05-27 07:36:17 -04:00
removed.rs Rollup merge of #97875 - JohnTitor:rm-infer-static-outlives-requirements, r=pnkfelix 2022-06-13 21:35:54 +02:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00