about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
AgeCommit message (Expand)AuthorLines
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
2022-06-03Use serde_json for json error messagesbjorn3-18/+18
2022-04-27Plumb through rustc_lint_defs::Level as enum rather than string.Jeremy Fitzhardinge-1/+2
2022-04-15Remove `--extern-location` and all associated codeJeremy Fitzhardinge-66/+1
2022-04-13errors: lazily load fallback fluent bundleDavid Wood-7/+9
2022-04-05errors: implement sysroot/testing bundle loadingDavid Wood-1/+9
2022-04-05errors: implement fallback diagnostic translationDavid Wood-20/+57
2022-04-05span: move `MultiSpan`David Wood-3/+9
2022-04-05errors: introduce `DiagnosticMessage`David Wood-3/+3
2022-02-24Avoid emitting full macro body into JSONMark Rousskov-2/+8
2022-01-24rustc_errors: remove `allow_suggestions` from `DiagnosticBuilder`.Eduard-Mihai Burtescu-1/+1
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-1/+1
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-1/+1
2021-07-11Simplify future incompatible reporting.Eric Huss-8/+4
2021-06-30Force warnings even when can_emit_warnings == falseRyan Levick-1/+1
2021-06-01Remove unused functions and arguments from rustc_serializebjorn3-2/+2
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+1
2021-04-04Rollup merge of #73945 - est31:unused_externs, r=Mark-SimulacrumDylan DPC-0/+25
2021-03-27lazily calls some fnsklensy-1/+1
2021-03-08Add notes to keep the UnusedExterns structs synced upest31-0/+4
2021-03-08Emit the lint level of the unused-crate-dependenciesest31-4/+6
2021-03-08Emit unused externsest31-0/+19
2021-02-07Make sure all fields are accounted for in `encode_fields!`Jeremy Fitzhardinge-4/+31
2021-02-07Implement Encoder for Diagnostic manuallyJeremy Fitzhardinge-1/+33