about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics
AgeCommit message (Expand)AuthorLines
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny 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-31Rollup merge of #101165 - ldm0:drain_to_iter, r=cjgillotMatthias Krüger-1/+1
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-30Use more `into_iter` rather than `drain(..)`Donough Liu-1/+1
2022-08-24translations: rename warn_ to warningLuis Cardoso-16/+19
2022-08-23Auto merge of #100675 - Xiretza:fluent-mandate-crate-prefix, r=davidtwcobors-9/+21
2022-08-22fluent: point to path containing error instead of module nameXiretza-5/+5
2022-08-22fluent: mandate slug names to be prefixed by crate nameXiretza-5/+17
2022-08-22Fix `build_format` not unescaping braces properlyfinalchild-27/+32
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-17/+6
2022-08-21Disallow #[primary_span] on LintDiagnosticsXiretza-4/+13
2022-08-21Make derived SessionDiagnostics generic on diagnostic levelXiretza-105/+58
2022-08-12Change fluent_messages macro to expect _ slugs instead of - slugsest31-5/+27
2022-08-12Update rustdoc to new slug styleest31-8/+8
2022-07-20clippy::perf fixesMatthias Krüger-4/+4
2022-07-15macros: support adding warnings to diagsDavid Wood-20/+43
2022-07-15macros: support `MultiSpan` in diag derivesDavid Wood-59/+88
2022-07-08Use dashes instead of underscores in fluent namesMichael Goulet-2/+6
2022-07-05macros: add diagnostic derive for lintsDavid Wood-603/+768
2022-07-05macros: move `sess` out of builderDavid Wood-6/+4
2022-07-05macros: introduce `build_field_mapping`David Wood-20/+22
2022-07-05macros: fix documentation link for diag deriveDavid Wood-1/+1
2022-06-24macros: use typed identifiers in subdiag deriveDavid Wood-15/+75
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-192/+320
2022-05-30errors: simplify referring to fluent attributesDavid Wood-38/+20
2022-05-24macros: introduce `fluent_messages` macroDavid Wood-0/+256
2022-05-24macros: change code block languageDavid Wood-4/+4
2022-05-19formattingChristian Poveda-1/+2
2022-05-19let `generate_field_attrs_code` create `FieldInfo`Christian Poveda-46/+14
2022-05-18remove unnecessary genericsChristian Poveda-4/+4
2022-05-18move misplaced commentChristian Poveda-4/+4
2022-05-18generate `set_arg` code inside `generate_field_attrs_code`Christian Poveda-99/+101
2022-05-17generate code for `subdiagnostic` fields in the second `match`Christian Poveda-18/+56
2022-05-12errors: `set_arg` takes `IntoDiagnosticArg`David Wood-2/+2
2022-05-12macros: spanless subdiagnostics from `()` fieldsDavid Wood-33/+74
2022-05-06macros: allow `Vec` fields in diagnostic deriveDavid Wood-39/+85
2022-04-29macros: add interop between diagnostic derivesDavid Wood-1/+2
2022-04-29macros: allow setting applicability in attributeDavid Wood-51/+75
2022-04-29macros: add more documentation commentsDavid Wood-1/+13
2022-04-29macros: reuse `SetOnce` trait in diagnostic deriveDavid Wood-60/+11
2022-04-29macros: add helper functions for invalid attrsDavid Wood-229/+149
2022-04-29macros: split diagnostic derives into modulesDavid Wood-0/+1628