about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-09-18Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingju...Matthias Krüger-7/+0
2025-09-14Move more early buffered lints to dyn lint diagnostics (2/N)León Orell Valerian Liehr-0/+7
2025-09-11c-variadic: allow trait methods to be c-variadicFolkert de Vries-7/+0
2025-09-09c-variadic: reject functions with unsupported extern ABIFolkert de Vries-2/+7
2025-09-09c-variadic: reject non-unsafe functionsFolkert de Vries-0/+15
2025-09-08c-variadic: reject non-extern functionsFolkert de Vries-0/+7
2025-09-08disallow c-variadic associated functions (for now)Folkert de Vries-0/+7
2025-09-08disallow c-variadic coroutinesFolkert de Vries-0/+12
2025-09-03simplify `check_c_variadic_type`Folkert de Vries-2/+2
2025-08-22Migrate `BuiltinLintDiag::MissingAbi` to use `LintDiagnostic` directlyJosh Triplett-1/+9
2025-08-20Enforce correct number of arguments for `"x86-interrupt"` functionsPavel Grigorenko-0/+9
2025-08-15fix: Reject async assoc fns of const traits/impls in ast_passesShoyu Vanilla-0/+10
2025-08-11Move trait impl modifier errors to parsingCameron Steffen-14/+0
2025-08-11Factor out InherentImplCannotUnsafeCameron Steffen-12/+0
2025-08-07Rollup merge of #137831 - estebank:auto-trait-err, r=compiler-errorsStuart Cook-4/+5
2025-08-04Tweak auto trait errorsEsteban Küber-4/+5
2025-08-04fix: Error on illegal `[const]`s inside blocks within legal positionsShoyu Vanilla-0/+20
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