summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs
AgeCommit message (Expand)AuthorLines
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