about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/emitter.rs
AgeCommit message (Expand)AuthorLines
2025-03-07Make trimming logic work on more than one span at a timeEsteban Küber-12/+25
2025-03-07Fix multiline span start special caseEsteban Küber-1/+1
2025-03-07Refactor `emitter` to better account for unicode chars when trimmingEsteban Küber-78/+99
2025-03-07On long spans, trim the middle of them to make them fit in the terminal widthEsteban Küber-0/+27
2025-03-07Remove highlighting of spans on `-Zteach`Esteban Küber-11/+0
2025-02-21Trim suggestion part before generating highlightsMichael Goulet-6/+1
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-6/+16
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-1/+2
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-1/+1
2025-02-06Rollup merge of #136580 - bjorn3:miri_fixes, r=lqdMatthias Krüger-1/+1
2025-02-05Couple of changes to run rustc in miribjorn3-1/+1
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-11/+12
2025-02-02Use fallback fluent bundle from inner emitter in SilentEmitterbjorn3-4/+1
2025-02-02Slightly simplify DiagCtxt::make_silentbjorn3-6/+6
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-26Account for removal of multiline span in suggestionEsteban Küber-7/+79
2024-12-20Rollup merge of #134366 - harrisonkaiser:no-break-space, r=davidtwcoDianQK-2/+8
2024-12-18chore: fix some typosacceptacross-1/+1
2024-12-16Fix logical error with what text is considered whitespace.Harrison Kaiser-2/+8
2024-12-13Account for `///` when rendering multiline spansEsteban Küber-8/+9
2024-12-12Filter empty lines, comments and delimiters from previous to last multiline s...Esteban Küber-1/+5
2024-12-12Tweak multispan renderingEsteban Küber-2/+6
2024-12-06Store a single copy of the error registry in DiagCtxtbjorn3-4/+5
2024-11-11Auto merge of #126597 - estebank:unicode-output, r=fmeasebors-127/+589
2024-11-10Address review commentsLeón Orell Valerian Liehr-26/+25
2024-11-10Add Unicode block-drawing compiler output supportEsteban Küber-120/+583
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