about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/mut_visit.rs
AgeCommit message (Expand)AuthorLines
2021-09-09Revert "Implement Anonymous{Struct, Union} in the AST"Felix S. Klock II-3/+0
2021-09-04Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiserbors-1/+1
2021-09-03Auto merge of #88597 - cjgillot:lower-global, r=petrochenkovbors-5/+3
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-1/+1
2021-09-02expand: Treat more macro calls as statement macro callsVadim Petrochenkov-1/+11
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-5/+3
2021-08-30Add let-else to ASTCameron Steffen-2/+11
2021-08-25Various pattern cleanupsLéo Lanteri Thauvin-5/+2
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-1/+1
2021-07-19Remove special case for `ExprKind::Paren` in `MutVisitor`Aaron Hill-6/+0
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-3/+3
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-3/+6
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-0/+3
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-22/+24
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-4/+45
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-03-16ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`Vadim Petrochenkov-2/+3
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-21/+24
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-7/+11
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-16/+11
2021-02-03Make panic/assert calls in rustc compatible with Rust 2021.Mara Bos-1/+1
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-9/+9
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-1/+1
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-11/+9
2021-01-01first pass at default values for const genericsJulian Knodt-1/+2
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-13/+8
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-8/+6
2020-11-26Properly handle attributes on statementsAaron Hill-8/+6
2020-11-25ast and parserb-naber-1/+4
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-0/+1
2020-11-12Rollup merge of #78836 - fanzier:struct-and-slice-destructuring, r=petrochenkovMara Bos-1/+5
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-3/+3
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-1/+5
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-12/+9
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-3/+3
2020-11-06rustc_ast: Never clone empty token streams in mutable visitorVadim Petrochenkov-1/+1
2020-11-06rustc_ast: Visit tokens stored in AST nodes in mutable visitorVadim Petrochenkov-15/+34
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-8/+8
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-5/+2
2020-11-03Expand `NtExpr` tokens only in key-value attributesVadim Petrochenkov-28/+44
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-1/+1
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+3
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-2/+5
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-5/+7
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-1/+1
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-2/+2
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-1/+1
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-1/+1
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-3/+4
2020-08-30Factor out StmtKind::MacCall fields into `MacCallStmt` structAaron Hill-1/+1