about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Expand)AuthorLines
2024-03-01Rollup merge of #120305 - clubby789:unused-import-line, r=estebankMatthias Krüger-1/+11
2024-03-01If suggestion would leave an empty line, delete itclubby789-1/+11
2024-03-01Handle stashing of delayed bugs.Nicholas Nethercote-11/+25
2024-03-01Remove unnecessary `Level::` qualifiers.Nicholas Nethercote-7/+7
2024-02-29Rollup merge of #121783 - nnethercote:emitter-cleanups, r=oli-obkGuillaume Gomez-163/+69
2024-02-29Rollup merge of #121669 - nnethercote:count-stashed-errs-again, r=estebankGuillaume Gomez-70/+157
2024-02-29Avoid unnecessary `color` local variable.Nicholas Nethercote-6/+3
2024-02-29Add a useful comment.Nicholas Nethercote-0/+1
2024-02-29Make `JsonEmitter` more like `HumanEmitter`.Nicholas Nethercote-38/+21
2024-02-29Inline and remove `JsonEmitter::{basic,stderr}`.Nicholas Nethercote-55/+1
2024-02-29Inline and remove `HumanEmitter::stderr`.Nicholas Nethercote-5/+2
2024-02-29Inline and remove `HumanReadableErrorType::new_emitter`.Nicholas Nethercote-23/+16
2024-02-29Merge HumanEmitter::{new,create}.Nicholas Nethercote-7/+2
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-2/+2
2024-02-29Inline and remove `DiagCtxt::with_tty_emitter`Nicholas Nethercote-9/+2
2024-02-29Remove unnecessary `output` local variable.Nicholas Nethercote-5/+4
2024-02-29Use `Destination` more.Nicholas Nethercote-6/+3
2024-02-29Simplify `UnusedExterns` lifetimes.Nicholas Nethercote-3/+3
2024-02-29Minor visibility and formatting improvements.Nicholas Nethercote-15/+20
2024-02-29Reinstate `emit_stashed_diagnostics` in `DiagCtxtInner::drop`.Nicholas Nethercote-4/+6
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-67/+152
2024-02-29Refactor `DiagCtxtInner::flush_delayed`.Nicholas Nethercote-21/+21
2024-02-29Add a comment about how `IntoDiagnostic` should be impl'd.Nicholas Nethercote-0/+19
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-14/+14
2024-02-28Rename `DiagnosticSymbolList` as `DiagSymbolList`.Nicholas Nethercote-5/+5
2024-02-28Rename `DiagnosticLocation` as `DiagLocation`.Nicholas Nethercote-12/+12
2024-02-28Rename `DiagnosticArgFromDisplay` as `DiagArgFromDisplay`.Nicholas Nethercote-8/+8
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-90/+88
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-153/+130
2024-02-28Rename `SubDiagnostic` as `Subdiag`.Nicholas Nethercote-26/+22
2024-02-28Rename `DelayedDiagnostic` as `DelayedDiagInner`.Nicholas Nethercote-5/+5
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-58/+58
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-1/+1
2024-02-22Auto merge of #121129 - nnethercote:codegen-Diags, r=estebankbors-19/+13
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-19/+13
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-21Remove some no-longer-needed `pub(crate)` markers.Nicholas Nethercote-10/+5
2024-02-21Merge `diagnostic_builder.rs` into `diagnostic.rs`.Nicholas Nethercote-369/+352
2024-02-20Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=dav...bors-308/+213
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-306/+211
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2024-02-18Auto merge of #121265 - klensy:bump-18-02-24, r=Mark-Simulacrumbors-2/+4
2024-02-18windows bump to 0.52klensy-2/+4
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-32/+80
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-3/+4
2024-02-15Auto merge of #121142 - GuillaumeGomez:rollup-5qmksjw, r=GuillaumeGomezbors-10/+12