summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Expand)AuthorLines
2024-10-07Rollup merge of #131344 - nnethercote:ref-Lrc, r=compiler-errorsMatthias Krüger-21/+20
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-21/+20
2024-10-07Remove `InferCtxt::err_count_on_creation`.Nicholas Nethercote-12/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-123/+91
2024-09-18Add suggestions for expressions in patternsLieselotte-0/+2
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-17/+70
2024-09-11clippy::useless_conversionMichael Goulet-2/+2
2024-09-07Do not ICE on expect(warnings).Camille GILLOT-12/+5
2024-09-06Check AttrId for expectations.Camille GILLOT-108/+17
2024-09-02Rollup merge of #129875 - Sajjon:sajjon_fix_typos_batch_1, r=compiler-errors,...Matthias Krüger-4/+4
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-4/+4
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-2/+2
2024-08-31Use AttrId key for unstable<->stable expectation map.Camille GILLOT-17/+12
2024-08-27Add `warn(unreachable_pub)` to `rustc_errors`.Nicholas Nethercote-35/+36
2024-08-24Fix `elided_named_lifetimes` in codePavel Grigorenko-2/+2
2024-08-19Update annotate-snippets to 0.11Xiretza-40/+29
2024-08-14Add `|` to make the html doc of `Level` rendered correctlyJaic1-16/+16
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-1/+3
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+3
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-20/+19
2024-08-10Update std and compilerNadrieril-0/+1
2024-08-09Rollup merge of #128852 - folkertdev:multipart-suggestion-stable-sort, r=comp...Matthias Krüger-2/+2
2024-08-09use stable sort to sort multipart diagnosticsFolkert-2/+2
2024-08-09Rollup merge of #128806 - estebank:color-config, r=jieyouxuMatthias Krüger-14/+13
2024-08-08review commentsEsteban Küber-2/+8
2024-08-08Split `ColorConfig` off of `HumanReadableErrorType`Esteban Küber-18/+11
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-20/+19
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/+26
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-8/+35
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-116/+122
2024-07-25Rollup merge of #127528 - estebank:ascii-control-chars, r=oli-obkMatthias Krüger-26/+51
2024-07-23Rollup merge of #126994 - Alexendoo:explain-markdown, r=tgross35Matthias Krüger-34/+94
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-10Support lists and stylings in more places for `rustc --explain`Alex Macleod-34/+94
2024-07-08Rollup merge of #120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-erro...Matthias Krüger-4/+10
2024-07-04Make `DiagSymbolList` more genericMaybe Lapkin-4/+10
2024-07-04Properly handle removal suggestion renderingEsteban Küber-3/+20
2024-07-01Auto merge of #126996 - oli-obk:do_not_count_errors, r=nnethercotebors-21/+52