about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
AgeCommit message (Expand)AuthorLines
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
2023-02-26refactor: statically guarantee that current error codes are documentedEzra Shaw-1/+1
2023-02-09Introduce `-Zterminal-urls` to use OSC8 for error codesEsteban Küber-0/+9
2023-01-08Make translate_message return result and add testsmejrs-2/+7
2022-12-01Remove useless borrows and derefsMaybe Waffle-1/+1
2022-10-19Implement -Ztrack-diagnosticsmejrs-0/+8
2022-10-10errors: use `HashMap` to store diagnostic argsDavid Wood-2/+2
2022-08-15errors: move translation logic into moduleDavid Wood-8/+11
2022-07-06session: `output-width` -> `diagnostic-width`David Wood-8/+8
2022-07-06session: `terminal-width` -> `output-width`David Wood-8/+8
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-1/+1