summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2021-02-01Assert the size of the refactored enumsDániel Buga-0/+10
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-35/+54
2021-01-15Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkovbors-10/+66
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-10/+66
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-1/+10
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-7/+8
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-3/+3
2021-01-01first pass at default values for const genericsJulian Knodt-0/+2
2020-12-30Rollup merge of #80128 - pierwill:pierwill-docs-fieldpat, r=jyn514Mara Bos-6/+6
2020-12-29More uses of the matches! macroLingMan-10/+4
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-36/+9
2020-12-26stabilize min_const_genericsBastian Kauschke-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-36/+9
2020-12-17Edit rustc_ast::ast::FieldPat docspierwill-6/+6
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-16/+1
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-5/+43
2020-11-26Properly handle attributes on statementsAaron Hill-5/+43
2020-11-25ast and parserb-naber-0/+1
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-0/+3
2020-11-12Rollup merge of #78836 - fanzier:struct-and-slice-destructuring, r=petrochenkovMara Bos-5/+14
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-5/+14
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-2/+1
2020-11-02Treat trailing semicolon as a statement in macro callAaron Hill-0/+7
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-0/+9
2020-10-26Suggest expressions that look like const generic arguments should be enclosed...varkor-0/+9
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-0/+1
2020-10-19Rewrite `collect_tokens` implementations to use a flattened bufferAaron Hill-10/+10
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+3
2020-10-14Remove unused code from rustc_astest31-38/+0
2020-10-09address review commentsEsteban Küber-0/+10
2020-10-07Auto merge of #76985 - hbina:clone_check, r=estebankbors-1/+13
2020-10-04Remove extra indirection in LitKind::ByteStrRobin Schoonover-1/+1
2020-09-21Prevent stackoverflowHanif Bin Ariffin-1/+13
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-3/+3
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-0/+1
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-1/+6
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-2/+3
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-0/+1
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-3/+5
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-0/+1
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-2/+8
2020-08-30Factor out StmtKind::MacCall fields into `MacCallStmt` structAaron Hill-4/+15
2020-08-30mv compiler to compiler/mark-0/+2846