about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes
AgeCommit message (Expand)AuthorLines
2024-07-23Stabilize unsafe extern blocks (RFC 3484)Santiago Pastorino-34/+12
2024-07-20Just totally fully deny late-bound constsMichael Goulet-0/+26
2024-07-18Don't allow unsafe statics outside of extern blocksMichael Goulet-0/+18
2024-07-16Rollup merge of #126762 - compiler-errors:kw-lt, r=michaelwoeristerTrevor Gross-51/+0
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-51/+0
2024-07-16Remove a boilerplaty abstractionOli Scherer-61/+17
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-22/+0
2024-07-10Report usage of lib features in ast validationMichael Goulet-3/+3
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-24/+7
2024-06-29Rollup merge of #127106 - spastorino:improve-unsafe-extern-blocks-diagnostics...Matthias Krüger-9/+22
2024-06-29Avoid suggesting to add unsafe when the extern block is already unsafeSantiago Pastorino-8/+13
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-24/+7
2024-06-26Rollup merge of #126973 - chenyukang:yukang-fix-126756-unsafe-suggestion-erro...Matthias Krüger-2/+2
2024-06-26Fix bad replacement for unsafe extern block suggestionyukang-2/+2
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-1/+1
2024-06-22compiler: Mention C-unwind in C-variadic errorJubilee Young-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/+58
2024-06-21Rollup merge of #126767 - compiler-errors:static-foreign-item, r=spastorinoMatthias Krüger-1/+1
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-1/+1
2024-06-20Properly gate `safe` keyword in pre-expansionMichael Goulet-0/+4
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-8/+6
2024-06-17Detect duplicatesMichael Goulet-4/+32
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-2/+2
2024-06-17Rework precise capturing syntaxMichael Goulet-82/+108
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-06Parse unsafe attributescarbotaniuman-0/+1
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-6/+22
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/+59
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-25/+27
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-25/+27
2024-05-26Rollup merge of #124048 - veera-sivarajan:bugfix-123773-c23-variadics, r=comp...Jubilee-17/+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-15/+7
2024-05-20Rollup merge of #125314 - jdonszelmann:global-registration-feature-gate, r=pn...Matthias Krüger-0/+1
2024-05-17Rename Unsafe to SafetySantiago Pastorino-13/+13
2024-05-14create a feature gatejdonszelmann-0/+1
2024-05-02Stabilize exclusive_rangeRoss Smyth-14/+1
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