about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs
AgeCommit message (Expand)AuthorLines
2023-02-22errors: generate typed identifiers in each crateDavid Wood-1/+3
2023-02-01Forbid #[suggestion_*(...)] on VecsXiretza-5/+16
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-2/+2
2022-10-23Allow specifying multiple alternative suggestionsXiretza-9/+12
2022-10-17infer: use derive moreDavid Wood-0/+2
2022-10-17macros: fully specify path to `Fn`David Wood-1/+1
2022-10-17macros: allow subdiagnostic-kind-less variantsDavid Wood-5/+16
2022-10-17macros: support doc comments in diag derivesDavid Wood-4/+18
2022-10-10macros: separate suggestion fmt'ing and emissionDavid Wood-12/+38
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-17/+28
2022-09-27Allow raw identifiers to be used as fluent argumentsXiretza-0/+3
2022-09-26macros: support diagnostic derive on enumsDavid Wood-19/+7
2022-09-22Better error recovery in Subdiagnostic deriveXiretza-20/+28
2022-09-22Extract subdiagnostic attribute parsingXiretza-231/+42
2022-09-22Make SetOnce nicer to useXiretza-13/+16
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-9/+9
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-1/+1
2022-09-01Allow deriving multiple subdiagnostics using one SessionSubdiagnosticXiretza-96/+120
2022-09-01Revert parts of "use derive proc macro to impl SessionDiagnostic"Xiretza-249/+445
2022-08-31use derive proc macro to impl SessionDiagnosticYuanheng Li-445/+249
2022-08-30Rework SessionSubdiagnostic derive to support multipart_suggestionXiretza-219/+389
2022-08-30SessionSubdiagnostic: make `#[applicability]` optionalXiretza-8/+4
2022-08-30Use span_suggestion_with_style in SessionSubdiagnostic deriveXiretza-39/+65
2022-08-24translations: rename warn_ to warningLuis Cardoso-2/+2
2022-07-15macros: support adding warnings to diagsDavid Wood-0/+4
2022-07-05macros: add diagnostic derive for lintsDavid Wood-5/+4
2022-06-24macros: use typed identifiers in subdiag deriveDavid Wood-12/+72
2022-05-30errors: simplify referring to fluent attributesDavid Wood-1/+1
2022-05-19let `generate_field_attrs_code` create `FieldInfo`Christian Poveda-1/+0
2022-05-12errors: `set_arg` takes `IntoDiagnosticArg`David Wood-1/+1
2022-05-06macros: allow `Vec` fields in diagnostic deriveDavid Wood-13/+5
2022-04-29macros: allow setting applicability in attributeDavid Wood-43/+1
2022-04-29macros: add more documentation commentsDavid Wood-0/+9
2022-04-29macros: add helper functions for invalid attrsDavid Wood-80/+20
2022-04-29macros: split diagnostic derives into modulesDavid Wood-0/+530