about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-23Improve some names.Nicholas Nethercote-12/+12
2023-12-23Remove `Diagnostic::new_with_code`.Nicholas Nethercote-21/+1
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-16Simplify lint decorator derive tooMichael Goulet-4/+1
2023-12-09Rollup merge of #118057 - bvanjoi:fix-118048, r=cjgillotGuillaume Gomez-4/+5
2023-12-04Remove some unused code, and downgrade some `pub`s.Nicholas Nethercote-37/+6
2023-12-04dedup for duplicate suggestionsbohan-4/+5
2023-11-19Remove unnecessary .collect()Esteban Küber-7/+7
2023-11-19Don't sort `span_suggestions`, leave that to callerEsteban Küber-6/+1
2023-11-19When encountering struct fn call literal with private fields, suggest all bui...Esteban Küber-4/+7
2023-09-22give FutureIncompatibilityReason variants more explicit namesRalf Jung-1/+7
2023-09-04Add OnceHelp lint level (same as OnceNote, except for help)Urgau-0/+8
2023-07-24Optimize format usageYuri Astrakhan-5/+5
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-2/+2
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-14/+10
2023-04-11Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errorsbors-0/+1
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-0/+1
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-02-01Make "use latest edition" subdiagnostic translatableXiretza-37/+0
2023-02-01Use AddToDiagnostic for "use latest edition" helpXiretza-12/+36