about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
AgeCommit message (Expand)AuthorLines
2025-07-03refactor: Make -Ztrack-diagnostics emit like a noteScott Schafer-2/+5
2025-06-23Rollup merge of #142784 - Kobzol:timings-codegen, r=nnethercoteJubilee-0/+1
2025-06-23Add codegen timing sectionJakub Beránek-0/+1
2025-06-19Extract Translator structCameron Steffen-26/+14
2025-06-16Add infrastructure for emitting timing sectionsJakub Beránek-1/+28
2025-04-03Split ExpectationLintId off LevelOli Scherer-1/+1
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-5/+5
2025-01-20don't ICE when emitting linker errors during `-Z link-only`jyn-17/+30
2025-01-19Manual cleanup of some `is_{or_none|some_and}` usagesYotam Ofek-1/+2
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-06Store a single copy of the error registry in DiagCtxtbjorn3-9/+11
2024-11-11Auto merge of #126597 - estebank:unicode-output, r=fmeasebors-1/+6
2024-11-10Add Unicode block-drawing compiler output supportEsteban Küber-1/+6
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-2/+2
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-3/+9
2024-08-08review commentsEsteban Küber-2/+2
2024-08-08Split `ColorConfig` off of `HumanReadableErrorType`Esteban Küber-3/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+17
2024-06-26Clarify comment on changing to warn future breakage items Urgau-5/+5
2024-06-25Prevent ICE from expected future breakagexFrednet-1/+6
2024-03-01If suggestion would leave an empty line, delete itclubby789-1/+11
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-29/+19
2024-02-29Inline and remove `JsonEmitter::{basic,stderr}`.Nicholas Nethercote-55/+1
2024-02-29Inline and remove `HumanReadableErrorType::new_emitter`.Nicholas Nethercote-3/+15
2024-02-29Remove unnecessary `output` local variable.Nicholas Nethercote-5/+4
2024-02-29Simplify `UnusedExterns` lifetimes.Nicholas Nethercote-3/+3
2024-02-28Rename `SubDiagnostic` as `Subdiag`.Nicholas Nethercote-5/+5
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-3/+3
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-1/+1
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-24/+28
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-2/+2
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-20/+17
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-1/+1
2023-12-23Remove `SubDiagnostic::render_span`.Nicholas Nethercote-5/+1
2023-12-23Improve some names.Nicholas Nethercote-2/+2
2023-11-20Update some more cases of "type" -> "$message_type"David Tolnay-1/+2
2023-10-13Use `$message_type` as the tagJeremy Fitzhardinge-1/+1
2023-09-19Use serde_json::to_writer for JsonEmitter::emitJeremy Fitzhardinge-4/+5
2023-09-19Make sure nested Diagnostics in FutureIncompat are also typed for consistency.Jeremy Fitzhardinge-7/+12
2023-09-19Add `type` field to json diagnostic outputsJeremy Fitzhardinge-24/+22
2023-09-15implement -Z ignore-directory-in-diagnostics-source-blocksPietro Albini-2/+14
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-1/+1
2023-08-30Use conditional synchronization for LockJohn Kåre Alsaker-4/+4
2023-07-31Remove a `bool` for color in favor of the `WriteColor` trait wrapping colored...Oli Scherer-0/+14
2023-07-31Use builder pattern instead of lots of arguments for `EmitterWriter::new`Oli Scherer-11/+7
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-4/+4