about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-02-28Rename `DiagnosticArgFromDisplay` as `DiagArgFromDisplay`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-7/+7
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-65/+49
2024-02-28Rename `SubDiagnostic` as `Subdiag`.Nicholas Nethercote-2/+2
2024-02-28Rename `DelayedDiagnostic` as `DelayedDiagInner`.Nicholas Nethercote-5/+5
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-26/+26
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-1/+1
2024-02-22Auto merge of #121129 - nnethercote:codegen-Diags, r=estebankbors-5/+5
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-5/+5
2024-02-22Replace unnecessary `abort_if_errors`.Nicholas Nethercote-0/+4
2024-02-22Overhaul the handling of errors at the top-level.Nicholas Nethercote-11/+21
2024-02-22Adjust the `has_errors*` methods.Nicholas Nethercote-20/+26
2024-02-22Remove an out-of-date comment.Nicholas Nethercote-1/+0
2024-02-21Merge `diagnostic_builder.rs` into `diagnostic.rs`.Nicholas Nethercote-7/+3
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-47/+35
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-18/+53
2024-02-16Rollup merge of #121111 - trevyn:associated-type-suggestion, r=davidtwcoGuillaume Gomez-0/+1
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-2/+3
2024-02-15Rollup merge of #121107 - estebank:capitalization-suggestion, r=michaelwoeristerGuillaume Gomez-1/+2
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-18/+53
2024-02-15Use generic `NonZero` internally.Markus Reiter-2/+3
2024-02-14For E0038, suggest associated type if availabletrevyn-0/+1
2024-02-14Fix msg for verbose suggestions with confusable capitalizationEsteban Küber-1/+2
2024-02-14Rollup merge of #121015 - nnethercote:opt-delayed-bug, r=oli-obkOli Scherer-12/+27
2024-02-14Auto merge of #120454 - clubby789:cargo-update, r=Nilstriebbors-1/+2
2024-02-14Optimize `delayed_bug` handling.Nicholas Nethercote-12/+27
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-14Fix `DiagCtxtInner::reset_err_count`.Nicholas Nethercote-15/+45
2024-02-14Remove `force_print_diagnostic`.Nicholas Nethercote-19/+24
2024-02-14Make `struct_span_note` call `struct_note`.Nicholas Nethercote-1/+1
2024-02-13Remove `good_path_delayed_bug`.Nicholas Nethercote-66/+40
2024-02-12Rollup merge of #120833 - nnethercote:more-internal-emit_diagnostics-cleanups...Matthias Krüger-58/+70
2024-02-12Change level used in `print_error_count`.Nicholas Nethercote-2/+2
2024-02-12Tweak delayed bug mentions.Nicholas Nethercote-3/+3
2024-02-12Remove final unwanted `unchecked_error_guaranteed` calls.Nicholas Nethercote-53/+65
2024-02-12Fix inconsistencies in the diagnostic API methods.Nicholas Nethercote-32/+21
2024-02-12Reorder the diagnostic API methods.Nicholas Nethercote-289/+294
2024-02-10Remove unnecessary `min_specialization` after bootstrapZalathar-1/+1
2024-02-09Rollup merge of #120828 - nnethercote:fix-stash-steal, r=oli-obkMatthias Krüger-18/+27
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-0/+2
2024-02-09Fix `ErrorGuaranteed` unsoundness with stash/steal.Nicholas Nethercote-18/+27
2024-02-08Fix `span_bug!` backtracesOli Scherer-0/+1
2024-02-08Rollup merge of #120734 - nnethercote:SubdiagnosticMessageOp, r=compiler-errorsMatthias Krüger-0/+2
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-0/+2
2024-02-07Rename `unchecked_claim_error_was_emitted` as `unchecked_error_guaranteed`.Nicholas Nethercote-5/+5
2024-02-07Tighten up `ErrorGuaranteed` handling.Nicholas Nethercote-4/+10
2024-02-07Remove return value from `emit_stashed_diagnostics`.Nicholas Nethercote-6/+3
2024-02-06Rollup merge of #120575 - nnethercote:simplify-codegen-diag-handling, r=estebankMatthias Krüger-9/+17
2024-02-06Rollup merge of #120520 - nnethercote:rename-good-path, r=oli-obkMatthias Krüger-110/+120