about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2025-02-27Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.Nicholas Nethercote-0/+9
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-3/+32
2025-02-11Add a TyPat in the AST to reuse the generic arg lowering logicOli Scherer-1/+22
2025-02-07compiler: use rustc_abi in rustc_ast_*Jubilee Young-1/+1
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-4/+4
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+8
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-4/+4
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-1/+1
2025-01-26rustc_ast: replace some len-checks + indexing with slice patterns etc. 🧹Yotam Ofek-3/+3
2025-01-23Handle parenthesised infer argsBoxy-0/+9
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-3/+26
2025-01-08Rename PatKind::Lit to ExprOli Scherer-3/+3
2024-12-31Convert some Into impls into From implsMichael Goulet-6/+6
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