about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/session_diagnostic.rs
AgeCommit message (Expand)AuthorLines
2022-04-29macros: split diagnostic derives into modulesDavid Wood-1590/+0
2022-04-29macros: subdiagnostic deriveDavid Wood-131/+755
2022-04-25fix formattingChristian Poveda-3/+1
2022-04-25use `ParseSess` instead of `Session` in `into_diagnostic`Christian Poveda-2/+4
2022-04-21macros: update doc comment for diagnostic deriveDavid Wood-8/+18
2022-04-05macros: support translatable suggestionsDavid Wood-66/+93
2022-04-05macros: note/help in `SessionDiagnostic` deriveDavid Wood-9/+43
2022-04-05macros: support translatable labelsDavid Wood-34/+75
2022-04-05macros: optional error codesDavid Wood-23/+19
2022-04-05macros: add `#[no_arg]` to skip `set_arg` callDavid Wood-1/+11
2022-04-05macros: rename `#[message]` to `#[primary_span]`David Wood-3/+3
2022-04-05macros: translatable struct attrs and warningsDavid Wood-114/+267
2022-04-05macros: update session diagnostic errorsDavid Wood-9/+9
2022-04-05macros: add args for non-subdiagnostic fieldsDavid Wood-24/+54
2022-04-05macros: move suggestion type handling to fnDavid Wood-68/+61
2022-04-05macros: update commentsDavid Wood-27/+34
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-1/+1
2022-03-01Rollup merge of #93926 - PatchMixolydic:bugfix/must_use-on-exprs, r=cjgillotDylan DPC-1/+0
2022-02-27Lint against more useless `#[must_use]` attributesRuby Lazuli-1/+0
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+1
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=pe...Matthias Krüger-4/+4
2021-10-10Apply clippy suggestionsClemens Wasser-4/+4
2021-09-11don't clone types that are Copy (clippy::clone_on_copy)Matthias Krüger-4/+4
2021-02-23replaced some unwrap_or with unwrap_or_elseklensy-3/+3
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-1/+1
2020-09-09Fix non-determinism in generated format string.jumbatm-5/+6
2020-09-01Add SessionDiagnostic derive macro.jumbatm-0/+665