about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics
AgeCommit message (Expand)AuthorLines
2022-10-17macros: support doc comments in diag derivesDavid Wood-14/+60
2022-10-10macros: simplify field ordering in diag deriveDavid Wood-102/+38
2022-10-10macros: separate suggestion fmt'ing and emissionDavid Wood-23/+81
2022-10-10macros: `#[subdiagnostic(eager)]`David Wood-21/+63
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-19/+30
2022-10-10macros: tidy up lint changesDavid Wood-3/+6
2022-10-03errors: rename `typeck.ftl` to `hir_analysis.ftl`David Wood-2/+2
2022-10-01Refactor rustc lint APIMaybe Waffle-15/+20
2022-09-27Allow raw identifiers to be used as fluent argumentsXiretza-0/+5
2022-09-26macros: support diagnostic derive on enumsDavid Wood-220/+252
2022-09-22Unify subdiagnostic attribute parsingXiretza-275/+139
2022-09-22Better error recovery in Subdiagnostic deriveXiretza-20/+28
2022-09-22Extract subdiagnostic attribute parsingXiretza-232/+297
2022-09-22Make SetOnce nicer to useXiretza-26/+39
2022-09-22Point to previous applicability when declared multiple timesXiretza-24/+11
2022-09-22Ensure #[suggestion] is only applied to correct tuple typesXiretza-33/+24
2022-09-22Ensure code= in #[suggestion(...)] is only set onceXiretza-2/+2
2022-09-22Cleanups in SessionDiagnostic deriveXiretza-11/+9
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-6/+6
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-14/+14
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-8/+8
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-18/+18
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-1/+1
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