about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-7/+7
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-14/+14
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-8/+8
2024-03-06Add missing `#[rustc_lint_diagnostics]` attributes.Nicholas Nethercote-0/+31
2024-03-05Adjust `Diag::new` signature.Nicholas Nethercote-1/+1
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-03-05Rename `SubdiagnosticMessage` as `SubdiagMessage`.Nicholas Nethercote-31/+30
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-14/+14
2024-02-29Rollup merge of #121669 - nnethercote:count-stashed-errs-again, r=estebankGuillaume Gomez-5/+3
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-5/+3
2024-02-29Add a comment about how `IntoDiagnostic` should be impl'd.Nicholas Nethercote-0/+19
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-12/+12
2024-02-28Rename `DiagnosticLocation` as `DiagLocation`.Nicholas Nethercote-6/+6
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-21/+21
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-76/+70
2024-02-28Rename `SubDiagnostic` as `Subdiag`.Nicholas Nethercote-5/+5
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-19/+19
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-11/+5
2024-02-21Remove some no-longer-needed `pub(crate)` markers.Nicholas Nethercote-10/+5
2024-02-21Merge `diagnostic_builder.rs` into `diagnostic.rs`.Nicholas Nethercote-80/+349
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-58/+154
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-9/+2
2024-02-15Auto merge of #120931 - chenyukang:yukang-cleanup-hashmap, r=michaelwoeristerbors-6/+3
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-9/+2
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-6/+3
2024-02-13Remove `good_path_delayed_bug`.Nicholas Nethercote-2/+1
2024-02-11Rollup merge of #120272 - long-long-float:suppress-suggestions-in-derive-macr...Matthias Krüger-0/+11
2024-02-11Fix to use for looplong-long-float-8/+7
2024-02-09Check with overlaps_or_adjacentlong-long-float-4/+7
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-3/+4
2024-02-06Check in push_suggestionlong-long-float-0/+9
2024-02-05Split `Level::DelayedBug` in two.Nicholas Nethercote-11/+7
2024-02-05Tighten the assertion in `downgrade_to_delayed_bug`.Nicholas Nethercote-1/+1
2024-02-05Make `Diagnostic::is_error` return false for `Level::FailureNote`.Nicholas Nethercote-2/+2