summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
2024-08-21Rollup merge of #129345 - compiler-errors:scratch4, r=jieyouxuMatthias Krüger-4/+2
2024-08-21Simplify some redundant field namesMichael Goulet-4/+2
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-9/+8
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-1/+1
2024-08-03Rollup merge of #127921 - spastorino:stabilize-unsafe-extern-blocks, r=compil...Matthias Krüger-30/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-07-25Support ?Trait bounds in supertraits and dyn Trait under a feature gateBryanskiy-7/+21
2024-07-25Rollup merge of #127054 - compiler-errors:bound-ordering, r=fmeaseMatthias Krüger-11/+0
2024-07-23Stabilize unsafe extern blocks (RFC 3484)Santiago Pastorino-30/+12
2024-07-18Don't allow unsafe statics outside of extern blocksMichael Goulet-0/+8
2024-07-16Rollup merge of #126762 - compiler-errors:kw-lt, r=michaelwoeristerTrevor Gross-30/+0
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-30/+0
2024-07-16Remove a boilerplaty abstractionOli Scherer-60/+16
2024-07-16Remove a needless borrowOli Scherer-7/+7
2024-07-16Just store a span instead of the whole itemOli Scherer-3/+3
2024-07-11And additionally enforce ? and async/const aren't mixedMichael Goulet-11/+0
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-2/+5
2024-06-29Rollup merge of #127106 - spastorino:improve-unsafe-extern-blocks-diagnostics...Matthias Krüger-8/+21
2024-06-29Avoid suggesting to add unsafe when the extern block is already unsafeSantiago Pastorino-7/+12
2024-06-28Add feature diagnostic for unsafe_extern_blocksSantiago Pastorino-1/+9
2024-06-28Rollup merge of #124091 - jieyouxu:ast-validation-top-level-docs, r=wesleywiserMatthias Krüger-7/+17
2024-06-28Change RTN to use .. againMichael Goulet-2/+5
2024-06-26Rollup merge of #126973 - chenyukang:yukang-fix-126756-unsafe-suggestion-erro...Matthias Krüger-1/+1
2024-06-26Fix bad replacement for unsafe extern block suggestionyukang-1/+1
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-1/+1
2024-06-22Allow "C-unwind" fn to have C variadicsJubilee Young-0/+1
2024-06-21Do not allow safe usafe on static and fn itemsSantiago Pastorino-16/+38
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-1/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-6/+3
2024-06-17Detect duplicatesMichael Goulet-2/+18
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-1/+1
2024-06-17Rework precise capturing syntaxMichael Goulet-82/+98
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-17ast_passes/validation: update attribute macro example许杰友 Jieyou Xu (Joe)-2/+9