summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
2024-07-18Don't allow unsafe statics outside of extern blocksMichael Goulet-5/+11
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-6/+13
2024-06-05Add unsafe_extern_blocks feature flagSantiago Pastorino-17/+19
2024-06-04Fail when using safe/unsafe items inside unadorned extern blocksSantiago Pastorino-19/+47
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-1/+1
2024-06-04Allow using unsafe on functions inside extern blocksSantiago Pastorino-5/+1
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-2/+13
2024-06-04Allow unsafe extern on all editionsSantiago Pastorino-4/+1
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-7/+9
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-7/+9
2024-05-26Rollup merge of #124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=comp...Jubilee-7/+5
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-3/+3
2024-05-21Make early lints translatableXiretza-1/+1
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-10/+5
2024-05-17Rename Unsafe to SafetySantiago Pastorino-13/+13
2024-04-30Replace item names containing an error code with something more meaningfulLeón Orell Valerian Liehr-6/+5
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-2/+2
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-2/+2
2024-04-16Support C23's Variadics Without a Named ParameterVeera-7/+5
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+1
2024-04-12Rollup merge of #123841 - Kohei316:remove_qualifier_sugg, r=wesleywiserMatthias Krüger-1/+5
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-1/+5
2024-04-09Add a helper for extending a span to include any trailing whitespaceMichael Goulet-1/+1
2024-04-04Rollup merge of #123397 - krtab:foreign_fn_qualif_diag, r=petrochenkovMatthias Krüger-5/+24
2024-04-04Fix diagnostic for qualifier in extern blockArthur Carcano-5/+24
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-16Rollup merge of #121545 - gvozdvmozgu:fix-attribute-validation-associated-ite...León Orell Valerian Liehr-0/+1
2024-03-07Rollup merge of #122004 - fmease:astvalidator-min-fix, r=compiler-errorsGuillaume Gomez-27/+30
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-2/+1
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-4/+4
2024-03-05AST validation: Improve handling of inherent impls nested within functions an...León Orell Valerian Liehr-27/+30
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-28/+35
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-14/+13
2024-02-24fix attribute validation on associated items in traitsgvozdvmozgu-0/+1
2024-02-21Remove an `unchecked_error_guaranteed` call.Nicholas Nethercote-3/+4
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-1/+2
2024-02-13Rollup merge of #120751 - estebank:issue-68982, r=nnethercoteMatthias Krüger-35/+89
2024-02-12check uniqueness of nested fieldsFrank King-1/+1
2024-02-12Lower anonymous structs or unions to HIRFrank King-1/+1
2024-02-08Do not leave stray commas after applying suggestionEsteban Küber-61/+56
2024-02-07Provide more suggestions on invalid equality where boundsEsteban Küber-4/+63
2024-01-12Allow `~const` on assoc ty bounds againLeón Orell Valerian Liehr-5/+33
2024-01-05Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errorsMatthias Krüger-5/+16
2024-01-02E0379: Provide suggestionsLeón Orell Valerian Liehr-34/+96
2024-01-02E0379: Make diagnostic more preciseLeón Orell Valerian Liehr-1/+1
2023-12-28Deny parenthetical notation for negative boundsLeón Orell Valerian Liehr-5/+16
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-2/+5
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-28/+28