summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/diagnostic.rs
AgeCommit message (Expand)AuthorLines
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
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-1/+1
2022-05-12macros: spanless subdiagnostics from `()` fieldsDavid Wood-12/+41
2022-05-06macros: allow `Vec` fields in diagnostic deriveDavid Wood-20/+25
2022-04-29macros: add interop between diagnostic derivesDavid Wood-1/+2
2022-04-29macros: allow setting applicability in attributeDavid Wood-8/+31
2022-04-29macros: add more documentation commentsDavid Wood-1/+1
2022-04-29macros: reuse `SetOnce` trait in diagnostic deriveDavid Wood-60/+11
2022-04-29macros: add helper functions for invalid attrsDavid Wood-131/+39
2022-04-29macros: split diagnostic derives into modulesDavid Wood-0/+703