rust/compiler/rustc_errors/src
bors 45749b21b7 Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors
Migrate most of `rustc_builtin_macros` to diagnostic impls

cc #100717

This is a couple of days work, but I decided to stop for now before the PR becomes too big. There's around 50 unresolved failures when `rustc::untranslatable_diagnostic` is denied, which I'll finish addressing once this PR goes thtough

A couple of outputs have changed, but in all instances I think the changes are an improvement/are more consistent with other diagnostics (although I'm happy to revert any which seem worse)
2023-04-11 14:40:54 +00:00
..
json various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
annotate_snippet_emitter_writer.rs Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
diagnostic_builder.rs Use AddToDiagnostic for "use latest edition" help 2023-02-01 21:49:45 +01:00
diagnostic_impls.rs Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
diagnostic.rs Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
emitter.rs Fix some clippy::complexity 2023-04-09 23:22:14 +02:00
error.rs Make translate_message return result and add tests 2023-01-08 23:35:43 +01:00
json.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00
lib.rs Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
lock.rs migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
registry.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00
snippet.rs Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
styled_buffer.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
tests.rs Fix tests 2023-01-09 00:23:27 +01:00
translation.rs Restore behavior when primary bundle is missing 2023-02-23 01:14:10 +01:00