about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/diagnostic.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+4
2024-07-14Suppress some fallout from gen in synstructureMichael Goulet-0/+4
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+1
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-20/+12
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-1/+1
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-6/+3
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-3/+3
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-2/+7
2023-12-19Streamline `Diagnostic` proc macro.Nicholas Nethercote-36/+17
2023-12-19Remove unnecessary `use` items in derived `IntoDiagnostic` impls.Nicholas Nethercote-2/+0
2023-12-18Rename `__diagnostic_handler_sess` as `_sess`.Nicholas Nethercote-4/+5
2023-12-18Rename `DiagnosticDeriveKind::Diagnostic::handler` as `DiagnosticDeriveKind::...Nicholas Nethercote-6/+6
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-16Simplify lint decorator derive tooMichael Goulet-2/+2
2023-11-10Minor cleanups.Nicholas Nethercote-2/+2
2023-10-13Format all the let chains in compilerMichael Goulet-18/+20
2023-05-26Fix diagnostics with errorsclubby789-13/+6
2023-05-26Validate fluent variable references with `debug_assertions`clubby789-4/+64
2023-02-22errors: generate typed identifiers in each crateDavid Wood-2/+2
2022-12-18use &str / String literals instead of format!()Matthias Krüger-8/+4
2022-12-15more clippy::complexity fixesMatthias Krüger-1/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-13/+13
2022-11-21Improve slug name errormejrs-53/+44
2022-11-21Fix testsmejrs-31/+39
2022-11-21Match crate and slug namesmejrs-1/+53
2022-11-01Auto merge of #103217 - mejrs:track, r=eholkbors-0/+3
2022-10-31Add more track_callermejrs-0/+3
2022-10-23Migrate all diagnosticsNilstrieb-2/+2
2022-10-10macros: simplify field ordering in diag deriveDavid Wood-1/+4
2022-10-10macros: `#[subdiagnostic(eager)]`David Wood-4/+9
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-26macros: support diagnostic derive on enumsDavid Wood-103/+54
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-3/+3
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-11/+11
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-08-21Make derived SessionDiagnostics generic on diagnostic levelXiretza-62/+20
2022-07-15macros: support adding warnings to diagsDavid Wood-1/+1
2022-07-05macros: add diagnostic derive for lintsDavid Wood-575/+102
2022-07-05macros: move `sess` out of builderDavid Wood-6/+4
2022-07-05macros: introduce `build_field_mapping`David Wood-18/+3
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-176/+284
2022-05-30errors: simplify referring to fluent attributesDavid Wood-30/+6
2022-05-19formattingChristian Poveda-1/+2
2022-05-19let `generate_field_attrs_code` create `FieldInfo`Christian Poveda-43/+13