about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/emitter.rs
AgeCommit message (Expand)AuthorLines
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-5/+10
2024-10-23"innermost", "outermost", "leftmost", and "rightmost" don't need hyphensJosh Triplett-4/+4
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-7/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-27Add `warn(unreachable_pub)` to `rustc_errors`.Nicholas Nethercote-1/+1
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-15/+14
2024-08-09Rollup merge of #128806 - estebank:color-config, r=jieyouxuMatthias Krüger-10/+5
2024-08-08review commentsEsteban Küber-0/+6
2024-08-08Split `ColorConfig` off of `HumanReadableErrorType`Esteban Küber-14/+3
2024-08-08Auto merge of #128465 - GrigorenkoPV:128200, r=estebankbors-7/+15
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-15/+14
2024-08-06fix testEsteban Küber-0/+8
2024-08-06Maintain highlighting in `note` and `help` even when they have a spanEsteban Küber-2/+5
2024-08-06Auto merge of #126804 - estebank:short-error-primary-label, r=davidtwcobors-1/+21
2024-08-06rustc_errors: fix inaccurate commentPavel Grigorenko-3/+3
2024-08-06rustc_errors: enforce OUTPUT_REPLACEMENTS is sorted with a compile-time asser...Pavel Grigorenko-4/+12
2024-08-06On short error format, append primary span label to messageEsteban Küber-1/+21
2024-08-06Auto merge of #128200 - estebank:normalize-whitespace, r=pnkfelixbors-30/+38
2024-08-01Do not underline suggestions for code that is already thereEsteban Küber-2/+19
2024-07-30Enforce sort orderEsteban Küber-31/+33
2024-07-29Use `fold` instead of `flat_map`Esteban Küber-8/+8
2024-07-29Change output normalization logic to be linear against size of outputEsteban Küber-46/+52
2024-07-29Reformat `use` declarations.Nicholas Nethercote-19/+19
2024-07-18Make unicode text flow control chars visible as �Esteban Küber-10/+11
2024-07-18Be more accurate about calculating `display_col` from a `BytePos`Esteban Küber-16/+1
2024-07-18Replace ASCII control chars with Unicode Control PicturesEsteban Küber-15/+54
2024-07-04Properly handle removal suggestion renderingEsteban Küber-3/+20
2024-06-23Special case when a code line only has multiline span startsEsteban Küber-1/+26
2024-06-20Fix `...` in multline code-skips in suggestionsEsteban Küber-2/+2
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+1
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