about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/diagnostic_builder.rs
AgeCommit message (Expand)AuthorLines
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
2022-07-15macros: support adding warnings to diagsDavid Wood-17/+34
2022-07-15macros: support `MultiSpan` in diag derivesDavid Wood-58/+81
2022-07-05macros: add diagnostic derive for lintsDavid Wood-0/+590