about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/utils.rs
AgeCommit message (Expand)AuthorLines
2025-08-14cleanup: Remove useless `[T].iter().last()`Esteban Küber-1/+1
2025-02-22Fix binding mode problemsMichael Goulet-2/+2
2024-10-27give a better error for tuple structs in `derive(Diagnostic)`jyn-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+9
2024-05-21Add note_once/help_once to diagnostic derivesXiretza-0/+12
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-3/+3
2023-11-10Minor cleanups.Nicholas Nethercote-3/+3
2023-06-23avoid `&format` in error message codeTakayuki Maeda-1/+1
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-9/+18
2023-05-08Make spans a bit betterMichael Goulet-0/+6
2023-05-08Diagnostic args are still args if they're documentedMichael Goulet-1/+2
2023-04-06address commentsDeadbeef-44/+49
2023-04-06fix errorsDeadbeef-1/+1
2023-04-06fix and bless ui tests 1/2Deadbeef-0/+13
2023-04-06migrate rustc_macros to syn 2.0Deadbeef-97/+89
2023-02-27Allow using `bool` for optional diagnosticsclubby789-0/+10
2023-02-01Forbid #[suggestion_*(...)] on VecsXiretza-30/+37
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-5/+3
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-10/+10
2022-11-18couple of clippy::perf fixesMatthias Krüger-1/+1
2022-10-26Remove #[suggestion_*] attributesXiretza-15/+37
2022-10-26Add "tool-only" suggestion styleXiretza-5/+8
2022-10-26Add style= parameter to suggestion attributesXiretza-14/+73
2022-10-23Allow specifying multiple alternative suggestionsXiretza-11/+94
2022-10-17macros: support doc comments in diag derivesDavid Wood-3/+14
2022-10-10macros: simplify field ordering in diag deriveDavid Wood-59/+1
2022-10-10macros: separate suggestion fmt'ing and emissionDavid Wood-9/+39
2022-09-26macros: support diagnostic derive on enumsDavid Wood-12/+73
2022-09-22Extract subdiagnostic attribute parsingXiretza-1/+255
2022-09-22Make SetOnce nicer to useXiretza-3/+11
2022-08-22Fix `build_format` not unescaping braces properlyfinalchild-27/+32
2022-07-15macros: support `MultiSpan` in diag derivesDavid Wood-1/+7
2022-07-05macros: add diagnostic derive for lintsDavid Wood-7/+13
2022-07-05macros: introduce `build_field_mapping`David Wood-2/+19
2022-05-19let `generate_field_attrs_code` create `FieldInfo`Christian Poveda-2/+1
2022-05-12macros: spanless subdiagnostics from `()` fieldsDavid Wood-21/+33
2022-05-06macros: allow `Vec` fields in diagnostic deriveDavid Wood-6/+55
2022-04-29macros: allow setting applicability in attributeDavid Wood-0/+43
2022-04-29macros: add more documentation commentsDavid Wood-0/+3
2022-04-29macros: split diagnostic derives into modulesDavid Wood-0/+221