about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
2025-09-04chore: Remove redundant disjoint spans assertScott Schafer-5/+0
2025-08-24Allow errors to be emitted as fatal during attribute parsingJana Dönszelmann-0/+23
2025-08-22Refactor lint buffering to avoid requiring a giant enumJosh Triplett-1/+11
2025-08-20Move `IntoDiagArg` earlier in the dependency chainsJosh Triplett-51/+1
2025-08-14Rollup merge of #137872 - estebank:extra-vert, r=compiler-errorsJakub Beránek-1/+1
2025-08-10Point at the `Fn()` or `FnMut()` bound that coerced a closure, which caused a...Esteban Küber-3/+4
2025-08-07Use `tcx.short_string()` in more diagnosticsEsteban Küber-0/+5
2025-08-04Include whitespace in "remove `|`" suggestion and make it hiddenEsteban Küber-1/+1
2025-07-19rename `emit_unless` to `emit_unless_delay`xizheyin-1/+1
2025-07-10Make `Diag::multipart_suggestions` always verboseEsteban Küber-1/+1
2025-07-03refactor: Make -Ztrack-diagnostics emit like a noteScott Schafer-0/+9
2025-06-30linkify CodeSuggestion in doc commentsDan Johnson-2/+2
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-1/+31
2025-05-27Remove an unnecessary use of `Box::into_inner`.Nicholas Nethercote-1/+1
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-20/+13
2025-04-08Remove unnecessary dyn Display in favor of strMichael Goulet-4/+4
2025-04-03Split ExpectationLintId off LevelOli Scherer-4/+17
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-1/+1
2025-02-25add doc comment detailEsteban Küber-0/+6
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-3/+3
2025-02-02Rollup merge of #136415 - estebank:highlight-clarification, r=compiler-errorsMatthias Krüger-5/+15
2025-02-02Highlight clarifying information in "expected/found" errorEsteban Küber-5/+15
2025-01-31Rework "long type names" printing logicEsteban Küber-0/+31
2025-01-11fix `it's` -> `its` in doc commentYotam Ofek-1/+1
2024-12-31Convert some Into impls into From implsMichael Goulet-3/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-12/+24
2024-09-11clippy::useless_conversionMichael Goulet-2/+2
2024-09-06Check AttrId for expectations.Camille GILLOT-22/+2
2024-09-02Rollup merge of #129875 - Sajjon:sajjon_fix_typos_batch_1, r=compiler-errors,...Matthias Krüger-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-1/+1
2024-08-31Use AttrId key for unstable<->stable expectation map.Camille GILLOT-12/+7
2024-08-27Add `warn(unreachable_pub)` to `rustc_errors`.Nicholas Nethercote-1/+1
2024-08-09use stable sort to sort multipart diagnosticsFolkert-2/+2
2024-08-06Maintain highlighting in `note` and `help` even when they have a spanEsteban Küber-0/+21
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+14
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-1/+1
2024-06-26Restrict diagnostic context lifetime of InferCtxt to itself instead of TyCtxtOli Scherer-0/+5
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-9/+10
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-2/+0
2024-05-15Fix the dedup error because of spans from suggestionyukang-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-0/+1
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-3/+3
2024-04-20Print note with closure signature on type mismatchDaniel Sedlak-1/+1
2024-03-14Make `SubdiagMessageOp` well-formedMichael Goulet-1/+2
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-2/+2