about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
2025-09-18Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingju...Matthias Krüger-6/+1
2025-09-14Move more early buffered lints to dyn lint diagnostics (2/N)León Orell Valerian Liehr-1/+1
2025-09-11c-variadic: allow trait methods to be c-variadicFolkert de Vries-33/+26
2025-09-11c-variadic: allow inherent methods to be c-variadicFolkert de Vries-26/+28
2025-09-09c-variadic: reject functions with unsupported extern ABIFolkert de Vries-2/+5
2025-09-09c-variadic: reject non-unsafe functionsFolkert de Vries-9/+14
2025-09-08Refactor how to get the span of a function headerFolkert de Vries-1/+1
2025-09-08c-variadic: reject non-extern functionsFolkert de Vries-1/+2
2025-09-08clarify control flow of `check_c_variadic_type`Folkert de Vries-7/+16
2025-09-08disallow c-variadic associated functions (for now)Folkert de Vries-5/+9
2025-09-08disallow c-variadic coroutinesFolkert de Vries-0/+9
2025-09-03simplify `check_c_variadic_type`Folkert de Vries-23/+19
2025-08-22Rollup merge of #145747 - joshtriplett:builtin-diag-dyn, r=jdonszelmannJacob Pratt-3/+3
2025-08-22Migrate `BuiltinLintDiag::MissingAbi` to use `LintDiagnostic` directlyJosh Triplett-1/+1
2025-08-22Refactor lint buffering to avoid requiring a giant enumJosh Triplett-2/+2
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-1/+1
2025-08-21Rollup merge of #145662 - GrigorenkoPV:x86-interrupt, r=compiler-errorsJacob Pratt-0/+11
2025-08-20Enforce correct number of arguments for `"x86-interrupt"` functionsPavel Grigorenko-0/+11
2025-08-19Prevent impossible combinations in `ast::ModKind`.Nicholas Nethercote-1/+1
2025-08-15Rollup merge of #144907 - ShoyuVanilla:no-const-async, r=fmeaseJacob Pratt-0/+16
2025-08-15fix: Reject async assoc fns of const traits/impls in ast_passesShoyu Vanilla-0/+16
2025-08-15Rollup merge of #143075 - workingjubilee:interrupts-may-return-nevermore, r=d...Stuart Cook-2/+14
2025-08-14cleanup: Remove useless `[T].iter().last()`Esteban Küber-1/+1
2025-08-11Extract ast TraitImplHeaderCameron Steffen-16/+10
2025-08-11Move trait impl modifier errors to parsingCameron Steffen-34/+5
2025-08-11Factor out InherentImplCannotUnsafeCameron Steffen-7/+11
2025-08-09remove `P`Deadbeef-2/+1
2025-08-07Rollup merge of #137831 - estebank:auto-trait-err, r=compiler-errorsStuart Cook-6/+10
2025-08-04Tweak auto trait errorsEsteban Küber-6/+10
2025-08-04fix: Error on illegal `[const]`s inside blocks within legal positionsShoyu Vanilla-16/+31
2025-07-28use let chains in ast, borrowck, codegen, const_evalKivooeo-10/+10
2025-07-18AST lowering: More robustly deal with relaxed boundsLeón Orell Valerian Liehr-23/+0
2025-07-17parse `const trait Trait`Deadbeef-15/+23
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-4/+4
2025-07-03Replace kw_span by full span.Camille GILLOT-2/+2
2025-06-27compiler: allow interrupts to return () or !Jubilee Young-2/+14
2025-06-24Error on invalid signatures for interrupt ABIsFolkert de Vries-17/+70
2025-06-16Fold unnecessary visit_struct_field_def in AstValidatorMichael Goulet-18/+2
2025-06-12add `extern "custom"` functionsFolkert de Vries-4/+85
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-3/+3
2025-05-04Initial support for dynamically linked cratesBryanskiy-2/+6
2025-05-03Report the `unsafe_attr_outside_unsafe` lint at the closest nodeUrgau-1/+1
2025-05-03Have `AstValidation` track a linting node idUrgau-0/+7
2025-04-18Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmannMatthias Krüger-3/+2
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-3/+2
2025-04-16Add hard error for `extern` without explicit ABIObei Sideg-5/+7
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-1/+1
2025-04-02Reduce scope of `AstValidator::with_*` calls.Nicholas Nethercote-91/+88
2025-04-02Rename span-related names in `AstValidator`.Nicholas Nethercote-36/+43
2025-04-02Factor some code out of `AstValidator::visit_items`.Nicholas Nethercote-19/+20