summary refs log tree commit diff
path: root/compiler/rustc_errors/src/emitter.rs
AgeCommit message (Expand)AuthorLines
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-0/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-30Auto merge of #124398 - klensy:trailing-ws, r=compiler-errorsbors-3/+13
2024-04-27tests: remove some trailing wsklensy-3/+13
2024-04-25Fix substitution parts having a shifted underline in some casesLieselotte-2/+2
2024-03-29diagnostics: fix crash on completely empty included fileMichael Howell-2/+7
2024-03-24Rollup merge of #122737 - ytmimi:conditionally_ignore_fatal_diagnostic, r=dav...Matthias Krüger-1/+2
2024-03-19conditionally ignore fatal diagnostic in the SilentEmitterYacin Tmimi-1/+2
2024-03-18When displaying multispans, ignore empty lines adjacent to `...`Esteban Küber-1/+48
2024-03-14Rollup merge of #120699 - nnethercote:rm-useless-TRACK_DIAGNOSTIC-calls, r=ol...Matthias Krüger-1/+1
2024-03-05errors: share `SilentEmitter` between rustc and rustfmtDavid Wood-24/+8
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-11/+9
2024-03-01Make the `match` in `emit_diagnostic` complete.Nicholas Nethercote-1/+1
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