summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-2/+2
2024-10-27Move an impl-Trait check from AST validation to AST loweringLeón Orell Valerian Liehr-7/+0
2024-10-14Rollup merge of #131550 - compiler-errors:extern-diags, r=spastorinoMatthias Krüger-0/+1
2024-10-11Note what qualifierMichael Goulet-0/+1
2024-10-01Remove anon struct and union typesMichael Goulet-9/+0
2024-10-01Remove unnamed field featureMichael Goulet-18/+0
2024-09-11Properly deny const gen/async gen fnsMichael Goulet-5/+6
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-82/+82
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_passes`.Nicholas Nethercote-82/+82
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-9/+0
2024-07-20Just totally fully deny late-bound constsMichael Goulet-0/+7
2024-07-18Don't allow unsafe statics outside of extern blocksMichael Goulet-0/+7
2024-07-16Rollup merge of #126762 - compiler-errors:kw-lt, r=michaelwoeristerTrevor Gross-15/+0
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-15/+0
2024-07-16Remove a boilerplaty abstractionOli Scherer-1/+1
2024-07-11And additionally enforce ? and async/const aren't mixedMichael Goulet-9/+0
2024-06-29Avoid suggesting to add unsafe when the extern block is already unsafeSantiago Pastorino-1/+1
2024-06-26Fix bad replacement for unsafe extern block suggestionyukang-1/+1
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