summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
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
2023-01-30session: diagnostic migration lint on more fnsDavid Wood-0/+2
2023-01-20add debug assertion for suggestions with overlapping partsLukas Markeffsky-27/+44
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-3/+3
2023-01-01Merge multiple mutable borrows of immutable binding errorsEsteban Küber-2/+2
2022-12-13Rollup merge of #105625 - matthiaskrgr:clippy_dec12, r=compiler-errorsMatthias Krüger-1/+1
2022-12-12minor code cleanupsMatthias Krüger-1/+1
2022-12-11Point at method call when it is the source of the bound errorEsteban Küber-1/+5
2022-12-01Remove useless borrows and derefsMaybe Waffle-1/+1
2022-11-18Fix compilation issue after rebaseCharles Lew-0/+3
2022-11-18Migrate diagnostics list output to use icu list formatter.Charles Lew-0/+3
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-2/+1
2022-11-09Rollup merge of #102763 - compiler-errors:nits, r=cjgillotMichael Goulet-5/+5
2022-11-09rebase conflictMichael Goulet-2/+2
2022-11-09Make span_suggestions take IntoIteratorMichael Goulet-3/+3