about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic_builder.rs
AgeCommit message (Expand)AuthorLines
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
2021-04-05Document compiler/ with -Aprivate-intra-doc-linksJoshua Nelson-9/+0
2021-03-27Fix compiler docsJoshua Nelson-0/+9
2021-03-27Remove (lots of) dead codeJoshua Nelson-14/+0
2021-03-27Remove unused `DiagnosticBuilder::sub` functionJoshua Nelson-13/+0
2021-03-17Remove unnecessary `forward_inner_docs` hackJoshua Nelson-15/+6
2021-02-02Bump rustfmt versionMark Rousskov-1/+1
2021-01-26Avoid describing a method as 'not found' when bounds are unsatisfiedAaron Hill-4/+4
2020-12-16Fix typo in method nameCamelid-1/+1
2020-12-16Add more documentation to `Diagnostic` and `DiagnosticBuilder`Camelid-7/+31
2020-11-16clarify `span_label` documentationAndy Russell-8/+10
2020-10-30Implement rustc side of report-future-incompatAaron Hill-1/+2
2020-08-30mv compiler to compiler/mark-0/+452