about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+8
2024-09-14stabilize `const_extern_fn`Folkert de Vries-19/+6
2024-09-12Rollup merge of #130252 - compiler-errors:const-gen, r=chenyukangStuart Cook-21/+17
2024-09-11Properly deny const gen/async gen fnsMichael Goulet-21/+17
2024-09-11Simplify some nested if statementsMichael Goulet-7/+7
2024-08-31Create opaque definitions in resolver.Camille GILLOT-1/+1
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-82/+83
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-11/+10
2024-08-20Auto merge of #127672 - compiler-errors:precise-capturing, r=spastorinobors-1/+0
2024-08-18stabilize raw_ref_opRalf Jung-1/+0
2024-08-17Stabilize opaque type precise capturingMichael Goulet-1/+0
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_passes`.Nicholas Nethercote-82/+83
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-2/+1
2024-08-03Rollup merge of #127921 - spastorino:stabilize-unsafe-extern-blocks, r=compil...Matthias Krüger-34/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+8
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-22/+0
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