rust/compiler/rustc_errors/src
Jonathan Brouwer f1b935d08f
Rollup merge of #152356 - JonathanBrouwer:inline_diag4, r=jdonszelmann
Improve the `inline_fluent!` macro

For https://github.com/rust-lang/rust/issues/151366

This PR turns `inline_fluent!` into a proc macro, so we can run validation on the messages in this macro :)
I started a thread here because I don't like the name of the macro, but that's for a future PR: [#t-compiler > Bikeshed the new `inline_fluent!` macro](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Bikeshed.20the.20new.20.60inline_fluent!.60.20macro/with/572646242)
2026-02-13 13:35:01 +01:00
..
json Remove the fallback bundle 2026-02-08 11:06:42 +01:00
markdown feat: added syntax highlighting for code blocks in rustc --explain 2026-01-19 17:44:24 +05:30
annotate_snippet_emitter_writer.rs Replace Registry type with a lazily initialized static 2026-02-05 10:54:46 +00:00
codes.rs Replace Registry type with a lazily initialized static 2026-02-05 10:54:46 +00:00
decorate_diag.rs Refactor lint buffering to avoid requiring a giant enum 2025-08-22 01:59:56 -07:00
diagnostic.rs Remove SubdiagMessage in favour of the identical DiagMessage 2026-02-10 09:13:45 +00:00
diagnostic_impls.rs Reformat existing error messages 2026-02-09 19:12:22 +01:00
emitter.rs Replace Registry type with a lazily initialized static 2026-02-05 10:54:46 +00:00
error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs Replace Registry type with a lazily initialized static 2026-02-05 10:54:46 +00:00
lib.rs Rollup merge of #152356 - JonathanBrouwer:inline_diag4, r=jdonszelmann 2026-02-13 13:35:01 +01:00
lock.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
timings.rs Add codegen timing section 2025-06-23 08:50:17 +02:00
translation.rs Reformat existing error messages 2026-02-09 19:12:22 +01:00