about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-16/+3
2024-12-21Rollup merge of #133782 - dtolnay:closuresjumps, r=spastorino,traviscrossMatthias Krüger-3/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-16Rollup merge of #134284 - estebank:issue-74863, r=lcnrMatthias Krüger-0/+2
2024-12-15Remove some leftover dead codeJonathan Dönszelmann-55/+2
2024-12-15Add hir::AttributeJonathan Dönszelmann-8/+4
2024-12-15Rename `value` field to `expr` to simplify later commits' diffsOli Scherer-5/+5
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-0/+2
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-1/+28
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-1/+20
2024-12-12Parsing unsafe bindersMichael Goulet-0/+8
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-09Introduce `default_field_values` featureEsteban Küber-0/+1
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-3/+8
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-0/+12
2024-12-02Never parenthesize `continue`David Tolnay-1/+1
2024-12-02Raise precedence of closure that has explicit return typeDavid Tolnay-2/+8
2024-12-02Squash closures and jumps into a single precedence levelDavid Tolnay-2/+1
2024-12-02Rollup merge of #133746 - oli-obk:push-xwyrylxmrtvq, r=jieyouxuGuillaume Gomez-15/+36
2024-12-02Deduplicate some matches that always panic in one armOli Scherer-4/+19
2024-12-02Add a helper method for extracting spans from AttrArgsEqOli Scherer-4/+10
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-11/+11
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-12/+10
2024-11-28always create `DefId`s when lowering anon-constslcnr-3/+4
2024-11-26Rollup merge of #133140 - dtolnay:precedence, r=fmeaseMichael Goulet-46/+66
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-14/+9
2024-11-24add guard pattern AST nodeMax Niederman-3/+8
2024-11-21Implement the unsafe-fields RFC.Luca Versari-0/+1
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-46/+66
2024-11-05Check for both `StmtKind::MacCall` and `ExprKind::MacCall`Boxy-4/+31
2024-11-02Do not format generic constsMichael Goulet-0/+6
2024-10-31Improve the missing_abi lint.Mara Bos-0/+2
2024-10-22Represent TraitBoundModifiers as distinct parts in HIRMichael Goulet-2/+2
2024-10-15Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgrbors-5/+16
2024-10-15Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errorsMatthias Krüger-2/+9
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-5/+16
2024-10-11Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiserbors-8/+0
2024-10-07Add sugar for &pin (const|mut) typesEric Holk-2/+9
2024-10-07Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner,...bors-2/+2
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-2/+10
2024-10-06disallow `asm!` in `#[naked]` functionsFolkert de Vries-1/+19
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2
2024-10-01Remove anon struct and union typesMichael Goulet-8/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-7/+7
2024-09-21Handle macro calls in anon const def creation take 2Boxy-5/+6
2024-09-17Rollup merge of #130314 - compiler-errors:mac-prec, r=davidtwcoMatthias Krüger-5/+6
2024-09-13Use the same precedence for all macro-like exprsMichael Goulet-5/+6
2024-09-12Fix anon const def-creation when macros are involvedNoah Lev-8/+12
2024-09-12Rollup merge of #130252 - compiler-errors:const-gen, r=chenyukangStuart Cook-6/+6
2024-09-12Rollup merge of #130250 - compiler-errors:useless-conversion, r=jieyouxuStuart Cook-4/+2