about summary refs log tree commit diff
path: root/compiler/rustc_attr/src/session_diagnostics.rs
AgeCommit message (Expand)AuthorLines
2024-10-25Re-do recursive const stability checksRalf Jung-0/+7
2024-10-04Improve non-boolean literal error in cfg predicateUrgau-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-15/+11
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-2/+2
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_attr`.Nicholas Nethercote-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+4
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-7/+5
2024-03-02Fix misleading message when using a named constant as a struct alignment/packyukang-0/+13
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-5/+5
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-24/+23
2024-01-19Pack the u128 in LitKind::IntJosh Stone-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-5/+5
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-7/+6
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-4/+4
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-13/+14
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-4/+4
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-10-23Validate `since` value in stable attributeDavid Tolnay-0/+7
2023-10-04Remove E0551.Nicholas Nethercote-9/+0
2023-02-22errors: generate typed identifiers in each crateDavid Wood-9/+10
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-2/+2
2022-10-23Migrate all diagnosticsNilstrieb-47/+43
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-2/+1
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-30/+30
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-34/+34
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-1/+1
2022-09-05UPDATE - accept start_point and snippet instead of SourceMapJhonny Bill Mena-5/+5
2022-09-05[Gardening] UPDATE - tidy fixesJhonny Bill Mena-1/+1
2022-09-05UPDATE - avoid exposing source_map methods from HandlerJhonny Bill Mena-6/+5
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-7/+11
2022-08-27use smaller span for suggestionsTakayuki Maeda-8/+6
2022-08-22Move `LitKind` logic to `session_diagnostics` moduleHampus Lidin-1/+16
2022-08-22Change to `diag` attributesHampus Lidin-29/+30
2022-08-22Reorder diagnostics in code order, then alphabetical orderHampus Lidin-110/+233
2022-08-22Refactor additional diagnostics in `rustc_attr`Hampus Lidin-0/+62
2022-08-22Refactor diagnostics in `handle_errors` functionHampus Lidin-0/+196