about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+2
2025-04-23Derive `HashStable` for `DelimArgs`.Nicholas Nethercote-13/+1
2025-04-14Rollup merge of #139392 - compiler-errors:raw-expr, r=oli-obkMatthias Krüger-0/+11
2025-04-07Rollup merge of #139112 - m-ou-se:super-let, r=lcnrStuart Cook-1/+2
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-1/+7
2025-04-04Detect and provide suggestion for `&raw EXPR`Michael Goulet-0/+11
2025-04-04Implement `super let`.Mara Bos-1/+2
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-1/+70
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-28/+79
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-1/+7
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-8/+0
2025-03-25Allow defining opaques in statics and constsMichael Goulet-0/+2
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-8/+0
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-4/+33
2025-03-14Preserve yield position during pretty printingEric Holk-1/+10
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-1/+2
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-1/+13
2025-03-06Add some code commentsSantiago Pastorino-1/+5
2025-03-06Use closure parse codeSantiago Pastorino-0/+5
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+3
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-3/+18
2025-03-04mgca: Lower all const paths as `ConstArgKind::Path`Noah Lev-15/+33
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-0/+2
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