about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/emitter.rs
AgeCommit message (Expand)AuthorLines
2024-03-05errors: share `SilentEmitter` between rustc and rustfmtDavid Wood-24/+8
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-11/+9
2024-02-29Make `JsonEmitter` more like `HumanEmitter`.Nicholas Nethercote-2/+1
2024-02-29Inline and remove `HumanEmitter::stderr`.Nicholas Nethercote-5/+1
2024-02-29Inline and remove `HumanReadableErrorType::new_emitter`.Nicholas Nethercote-19/+1
2024-02-29Merge HumanEmitter::{new,create}.Nicholas Nethercote-7/+2
2024-02-29Use `Destination` more.Nicholas Nethercote-6/+3
2024-02-29Minor visibility and formatting improvements.Nicholas Nethercote-9/+11
2024-02-28Rename `DiagnosticLocation` as `DiagLocation`.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-1/+1
2024-02-28Rename `SubDiagnostic` as `Subdiag`.Nicholas Nethercote-12/+8
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-7/+7
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-1/+1
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-1/+1
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-0/+23
2024-02-15Rollup merge of #121107 - estebank:capitalization-suggestion, r=michaelwoeristerGuillaume Gomez-9/+10
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-0/+23
2024-02-14Fix msg for verbose suggestions with confusable capitalizationEsteban Küber-9/+10
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-06Rollup merge of #120575 - nnethercote:simplify-codegen-diag-handling, r=estebankMatthias Krüger-22/+19
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-22/+19
2024-02-05Split `Level::DelayedBug` in two.Nicholas Nethercote-0/+1
2024-02-03`SilentEmitter::fatal_note` doesn't need to be optional.Nicholas Nethercote-8/+6
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-6/+6
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-9/+8
2024-01-05Add some comments to `Emitter`.Nicholas Nethercote-3/+5
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-10/+10
2023-12-23Remove `SubDiagnostic::render_span`.Nicholas Nethercote-2/+1
2023-12-23Improve some names.Nicholas Nethercote-17/+17
2023-12-18Rename `SilentEmitter::fatal_handler` as `SilentEmitter::fatal_dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-12-15use `if cfg` instead of `#[cfg]`jyn-4/+1
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-1/+1
2023-12-08use magenta instead of bold for highlightingjyn-1/+1
2023-12-08Simplify and comment the special-casing for Windows colorsjyn-10/+10
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-4/+4
2023-11-08rustc: minor changes suggested by clippy perf lints.Nicholas Nethercote-5/+1
2023-10-20Auto merge of #116962 - estebank:issue-63835, r=oli-obkbors-1/+8
2023-10-19Do not bold main message in `--error-format=short`Esteban Küber-1/+8
2023-10-19Fix duplicate labels emitted in `render_multispan_macro_backtrace()`Gurinder Singh-4/+4
2023-10-13Format all the let chains in compilerMichael Goulet-4/+4
2023-09-15implement -Z ignore-directory-in-diagnostics-source-blocksPietro Albini-3/+24
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-2/+2
2023-09-04Auto merge of #115513 - Urgau:normalize-msg-after-translate, r=petrochenkovbors-1/+7
2023-09-03Don't forget to normalize the translated messageUrgau-1/+7
2023-08-30Use conditional synchronization for LockJohn Kåre Alsaker-3/+5
2023-07-31Sanity check that we actually flush all buffersOli Scherer-0/+9
2023-07-31Get rid of the thin wrapper type that is `Destination` and just write to the ...Oli Scherer-32/+19
2023-07-31Turn a single-variant enum into a structOli Scherer-14/+6
2023-07-31Merge all `Destination` variantsOli Scherer-4/+1