about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-6/+2
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-9/+9
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+4
2024-06-03Fix up comments.Nicholas Nethercote-1/+1
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+2
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-2/+8
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-5/+2
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-7/+7
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-08-30feat(rustc_lint): make `CheckLintName` respect lint levelWeihang Lo-53/+1
2023-08-24refactor: use references to reduce unnecessary clonesWeihang Lo-20/+20
2023-08-24lint: translate `RenamedOrRemovedLint`Weihang Lo-3/+13
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-3/+3
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `levels.rs`Rejyr-2/+2
2023-01-09add: `lints` for `errors.rs`Rejyr-1/+3
2023-01-09migrate: `early.rs` and `enum_intrinsics_non_enums.rs`Rejyr-0/+1
2022-10-26Convert all #[suggestion_*] attributes to #[suggestion(style = "...")]Xiretza-1/+1
2022-10-23Migrate all diagnosticsNilstrieb-17/+17
2022-10-17lint: use derive moreDavid Wood-23/+2
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-3/+12
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-9/+9
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-3/+3
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-11/+11
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-2/+2
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-4/+4
2022-08-22refactor: migrate to kind-less `SessionDiagnostic` derivesRejyr-8/+8
2022-08-22migrate: `rustc_lint::context`Rejyr-1/+81
2022-08-22rename: `UnknownTool` to `UnknownToolInScopedLint`Rejyr-2/+2
2022-08-22migrate: `BuiltinEllipsisInclusiveRangePatterns`Rejyr-0/+10
2022-08-22migrate: `OverruledAttribute`Rejyr-0/+40
2022-08-22hotfix: add missing importRejyr-1/+1
2022-08-22change: diagnostic `String` field to `Symbol`Rejyr-1/+1
2022-08-22migrate: `bad_attr` to `SessionDiagnostic`Rejyr-1/+20
2022-08-22migrate: `UnknownTool` error to `SessionDiagnostic`Rejyr-0/+13