rust/compiler/rustc_errors/src
David Wood 5ba81faba6 lint: add diagnostic translation migration lints
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>
2022-06-10 15:50:06 +01:00
..
json Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
annotate_snippet_emitter_writer.rs errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
diagnostic_builder.rs errors: simplify referring to fluent attributes 2022-05-30 13:38:19 +01:00
diagnostic.rs lint: add diagnostic translation migration lints 2022-06-10 15:50:06 +01:00
emitter.rs Mention filename in suggestion when it differs from primary span 2022-06-01 09:52:03 -07:00
json.rs Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
lib.rs lint: add diagnostic translation migration lints 2022-06-10 15:50:06 +01:00
lock.rs
registry.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
snippet.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
styled_buffer.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00