about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-06-21Do not allow safe usafe on static and fn itemsSantiago Pastorino-0/+14
2024-06-17Detect duplicatesMichael Goulet-0/+9
2024-06-17Rework precise capturing syntaxMichael Goulet-0/+8
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-0/+7
2024-06-04Fail when using safe/unsafe items inside unadorned extern blocksSantiago Pastorino-0/+9
2024-05-26Rollup merge of #124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=comp...Jubilee-7/+0
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-0/+2
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-2/+2
2024-04-16Support C23's Variadics Without a Named ParameterVeera-7/+0
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-0/+6
2024-04-04Fix diagnostic for qualifier in extern blockArthur Carcano-2/+1
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-5/+5
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