about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-07-18AST lowering: More robustly deal with relaxed boundsLeón Orell Valerian Liehr-16/+0
2025-07-17parse `const trait Trait`Deadbeef-1/+1
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-2/+2
2025-06-24Error on invalid signatures for interrupt ABIsFolkert de Vries-4/+18
2025-06-12add `extern "custom"` functionsFolkert de Vries-0/+64
2025-04-17Auto merge of #139949 - matthiaskrgr:rollup-pxc5tsx, r=matthiaskrgrbors-11/+3
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-11/+3
2025-04-16Add hard error for `extern` without explicit ABIObei Sideg-0/+9
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-1/+0
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-7/+0
2025-02-22Fix "missing match arm body" suggestion involving `!`Esteban Küber-1/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-04Remove `-Zshow-span`.Nicholas Nethercote-8/+0
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