about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic_builder.rs
AgeCommit message (Expand)AuthorLines
2023-02-01Use AddToDiagnostic for "use latest edition" helpXiretza-1/+0
2023-01-30session: diagnostic migration lint on more fnsDavid Wood-0/+53
2022-12-27ADD - create and emit Bug support for DiagnosticsJhonny Bill Mena-1/+54
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-2/+1
2022-11-09Make span_suggestions take IntoIteratorMichael Goulet-2/+2
2022-11-08add 'ty_error_with_guaranteed' and 'const_error_with_guaranteed'yukang-2/+2
2022-11-06cfg-step codeMark Rousskov-2/+1
2022-10-19Implement -Ztrack-diagnosticsmejrs-0/+5
2022-10-07errors: add `emit_note`/`create_note`David Wood-0/+50
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-24/+0
2022-10-01Remove `LintDiagnosticBuilder`Maybe Waffle-24/+0
2022-09-24rebase and update trait namesEllis Hoag-0/+13
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-3/+4
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-0/+9
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-21Add Handler::struct_diagnostic()Xiretza-0/+30
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-1/+1
2022-07-15errors: lint on `LintDiagnosticBuilder::build`David Wood-0/+1
2022-07-08Fix duplicated type annotation suggestionDaniel Xu-0/+1
2022-07-05lint: `LintDiagnosticBuilder` into `rustc_errors`David Wood-0/+23
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-1/+1
2022-05-30errors: simplify referring to fluent attributesDavid Wood-20/+27
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-6/+6
2022-05-12errors: `set_arg` takes `IntoDiagnosticArg`David Wood-2/+2
2022-04-29macros: subdiagnostic deriveDavid Wood-0/+5
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-5/+5
2022-04-18Remove unused macro rulesest31-13/+0
2022-04-05macros: support translatable labelsDavid Wood-1/+1
2022-04-05macros: add args for non-subdiagnostic fieldsDavid Wood-0/+7
2022-04-05errors: implement fallback diagnostic translationDavid Wood-23/+32
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-27Make fatal DiagnosticBuilder yield neverMichael Goulet-0/+39
2022-03-20Filter OnceNote in diagnostic infra.Camille GILLOT-0/+6
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-4/+4
2022-03-16rustc_error: make ErrorReported impossible to constructmark-3/+3
2022-03-07diagnostics: only talk about `Cargo.toml` if running under CargoMichael Howell-0/+1
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-9/+9
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-64/+170
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-23/+89
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-35/+11
2022-02-23rustc_errors: add `downgrade_to_delayed_bug` to `Diagnostic` itself.Eduard-Mihai Burtescu-6/+10
2022-01-24rustc_errors: only box the `diagnostic` field in `DiagnosticBuilder`.Eduard-Mihai Burtescu-28/+22
2022-01-24rustc_errors: remove `allow_suggestions` from `DiagnosticBuilder`.Eduard-Mihai Burtescu-113/+25
2021-09-13Auto merge of #87915 - estebank:fancy-spans, r=oli-obkbors-0/+14
2021-09-04Fix #88256, remove duplicated diagnosticyukang-0/+1
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-0/+14
2021-07-30Use multispan suggestions more oftenEsteban Küber-0/+14