about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-3/+3
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-11/+19
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+3
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-3/+14
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-15/+3
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-19/+19
2024-01-12Allow `~const` on assoc ty bounds againLeón Orell Valerian Liehr-0/+17
2024-01-05Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errorsMatthias Krüger-0/+7
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-2/+2
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-2/+2
2024-01-02E0379: Provide suggestionsLeón Orell Valerian Liehr-1/+18
2024-01-02E0379: Make diagnostic more preciseLeón Orell Valerian Liehr-0/+1
2023-12-28Deny parenthetical notation for negative boundsLeón Orell Valerian Liehr-0/+7
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-0/+7
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-3/+4
2023-12-21Simple modification of diagnostic informationsurechen-2/+2
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-3/+4
2023-12-18Deny ~const trait bounds in inherent impl headersLeón Orell Valerian Liehr-0/+5
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-0/+9
2023-11-12Auto merge of #117817 - fmease:deny-more-tilde-const, r=fee1-deadbors-2/+14
2023-11-12Deny more `~const` trait boundsLeón Orell Valerian Liehr-2/+14
2023-10-30Explicitly reject const C-variadic functionsNicholas Bishop-0/+11
2023-10-30Fix bad-c-variadic error being emitted multiple timesNicholas Bishop-1/+1
2023-09-11Move let expression checking to parsingMatthew Jasper-19/+0
2023-08-24Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkovbors-0/+27
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-0/+27
2023-08-10Unlock trailing where-clauses for lazy type aliasesLeón Orell Valerian Liehr-2/+28
2023-06-27remove an unused struct `ForbiddenNonLifetimeParam`Takayuki Maeda-7/+0
2023-05-02Disallow associated type constraints on negative boundsMichael Goulet-0/+7
2023-05-02Implement negative boundsMichael Goulet-0/+8
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-04-03Make "unneccesary visibility qualifier" error much more clearTam Pham-6/+8
2023-02-25Complete migrating `ast_passes` to derive diagnosticsclubby789-1/+475
2023-02-22Move associated type bounds check to ast loweringMichael Goulet-7/+0
2023-02-22errors: generate typed identifiers in each crateDavid Wood-3/+3
2023-01-19Autoderive ExternBlockSuggestionmejrs-25/+17
2022-10-23Migrate all diagnosticsNilstrieb-27/+27
2022-10-17ast_passes: use derive moreDavid Wood-17/+0
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-3/+9
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-27/+27
2022-09-09Make async fn in traits workMichael Goulet-11/+0
2022-08-29Migrate stable let_chains error to session diagnosticsNilstrieb-0/+8
2022-08-22Replace #[error(..)] etc. to #[diag(..)]finalchild-23/+23
2022-08-22Migrate forbidden_default and *_without_bodyfinalchild-2/+98
2022-08-22Support #[fatal(..)]finalchild-1/+1
2022-08-22Migrate fn_param_forbidden_self and rename others to have prefix fn_param_finalchild-10/+19
2022-08-22Rename c_var_args_without_named_arg to c_var_args_is_sole_paramfinalchild-2/+2
2022-08-22Migrate doc_comment_on_fn_param, forbidden_attr_on_fn_paramfinalchild-0/+15
2022-08-22Migrate forbidden_lifetime_bound, forbidden_non_lifetime_param, too_many_para...finalchild-0/+36