about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-03Use `StringPart` more.Nicholas Nethercote-30/+25
2024-02-03Use `DiagnosticArgName` in a few more places.Nicholas Nethercote-1/+1
2024-02-03`Diagnostic` cleanupsNicholas Nethercote-17/+1
2024-02-01Rework `StringPart`.Nicholas Nethercote-20/+16
2024-02-01Fit more values into `DiagnosticArgValue::Number`.Nicholas Nethercote-1/+4
2024-01-31Don't hash lints differently to non-lints.Nicholas Nethercote-8/+8
2024-01-30Remove the second lifetime from `DiagnosticArg`.Nicholas Nethercote-2/+2
2024-01-30Remove the lifetime from `DiagnosticArgName`.Nicholas Nethercote-8/+4
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-19/+13
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-8/+9
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-24/+21
2024-01-12Good path bugs are just a flavor of delayed bugMichael Goulet-6/+9
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-7/+10
2024-01-04Remove `is_lint` field from `Level::Error`.Nicholas Nethercote-5/+3
2024-01-03Fix up `forward!` decls.Nicholas Nethercote-6/+10
2024-01-03Remove forward for `downgrade_to_delayed_bug`.Nicholas Nethercote-3/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-5/+8
2023-12-31rustc_lint: Make `LintLevelsProvider::current_specs()` return `&FxIndexMap`Martin Nordholts-2/+2
2023-12-23Remove `SubDiagnostic::render_span`.Nicholas Nethercote-3/+1
2023-12-23Remove `render_span` args from `Diagnostic::{sub,sub_with_highlight}`.Nicholas Nethercote-21/+14