about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/diagnostic_builder.rs
AgeCommit message (Expand)AuthorLines
2024-10-27give a better error for tuple structs in `derive(Diagnostic)`jyn-1/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+7
2024-07-10Make sure that labels are defined after the primary span in diagnosticsMichael Goulet-0/+9
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-05-21Add note_once/help_once to diagnostic derivesXiretza-4/+12
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-38/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-2/+2
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-1/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-9/+9
2023-12-19Streamline `Diagnostic` proc macro.Nicholas Nethercote-44/+26
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename `DiagnosticDeriveKind::Diagnostic::handler` as `DiagnosticDeriveKind::...Nicholas Nethercote-4/+4
2023-11-10Minor cleanups.Nicholas Nethercote-3/+4
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-4/+10
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+9
2023-05-08Make spans a bit betterMichael Goulet-4/+5
2023-04-11Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errorsbors-2/+4
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-2/+4
2023-04-09Fix some clippy::complexityNilstrieb-2/+2
2023-04-06fix and bless ui tests 1/2Deadbeef-1/+6
2023-04-06migrate rustc_macros to syn 2.0Deadbeef-90/+62
2023-02-27Allow using `bool` for optional diagnosticsclubby789-5/+8
2023-02-22errors: generate typed identifiers in each crateDavid Wood-3/+3
2023-02-01Forbid #[suggestion_*(...)] on VecsXiretza-8/+13
2023-01-11Support eager subdiagnostics againmejrs-4/+20
2022-12-14Auto merge of #105233 - mejrs:always_eager, r=estebankbors-36/+11
2022-12-04Always evaluate vecs of subdiagnostics eagerlymejrs-36/+11
2022-12-01Remove useless borrows and derefsMaybe Waffle-7/+7
2022-10-23Allow specifying multiple alternative suggestionsXiretza-1/+1
2022-10-17macros: support doc comments in diag derivesDavid Wood-7/+28
2022-10-10macros: simplify field ordering in diag deriveDavid Wood-42/+33
2022-10-10macros: separate suggestion fmt'ing and emissionDavid Wood-2/+4
2022-10-10macros: `#[subdiagnostic(eager)]`David Wood-17/+54
2022-09-27Allow raw identifiers to be used as fluent argumentsXiretza-0/+2
2022-09-26macros: support diagnostic derive on enumsDavid Wood-86/+118
2022-09-22Unify subdiagnostic attribute parsingXiretza-275/+139
2022-09-22Make SetOnce nicer to useXiretza-10/+12
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-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-3/+3
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-3/+3
2022-08-30Use more `into_iter` rather than `drain(..)`Donough Liu-1/+1
2022-08-24translations: rename warn_ to warningLuis Cardoso-14/+17
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-15/+4
2022-08-21Disallow #[primary_span] on LintDiagnosticsXiretza-4/+13
2022-08-21Make derived SessionDiagnostics generic on diagnostic levelXiretza-43/+38
2022-07-20clippy::perf fixesMatthias Krüger-1/+1