about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
AgeCommit message (Expand)AuthorLines
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
2024-06-27Document new field and functionOli Scherer-0/+5
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-21/+42
2024-06-26Restrict diagnostic context lifetime of InferCtxt to itself instead of TyCtxtOli Scherer-0/+5
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-06-23Special case when a code line only has multiline span startsEsteban Küber-1/+26
2024-06-22Rollup merge of #126723 - estebank:dot-dot-dot, r=NadrierilGuillaume Gomez-2/+2
2024-06-21Fix another assertion failure for some Expect diagnostics.Nicholas Nethercote-4/+4
2024-06-20Rollup merge of #126719 - nnethercote:fix-126521, r=oli-obkMatthias Krüger-9/+19
2024-06-20Fix `...` in multline code-skips in suggestionsEsteban Küber-2/+2
2024-06-20Fix assertion failure for some `Expect` diagnostics.Nicholas Nethercote-9/+19
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-5/+2
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-74/+86
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-5/+3
2024-05-23Remove `DelayDm`León Orell Valerian Liehr-3/+3
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-2/+0
2024-05-22Auto merge of #125335 - compiler-errors:binder, r=lcnrbors-0/+9
2024-05-21Uplift binderMichael Goulet-0/+9
2024-05-21Implement IntoDiagArg for hir NamespaceXiretza-0/+6
2024-05-16Uplift FnSigMichael Goulet-0/+6
2024-05-15Fix the dedup error because of spans from suggestionyukang-1/+1
2024-05-13Uplift AliasTyMichael Goulet-0/+6
2024-05-11Uplift `NormalizesTo`, `CoercePredicate`, and `SubtypePredicate`Michael Goulet-2/+0
2024-05-11Uplift `ExistentialTraitRef`, `ExistentialProjection`, `ProjectionPredicate`Michael Goulet-0/+8
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-0/+6
2024-05-03Remove some low-value `use` renamings.Nicholas Nethercote-3/+3