about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-3/+16
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-0/+12
2024-12-04Rollup merge of #133784 - dtolnay:visitspans, r=compiler-errorsMatthias Krüger-7/+9
2024-12-03Visit Stmt span in MutVisitor::flat_map_stmtDavid Tolnay-6/+7
2024-12-03Visit BinOp span in MutVisitor::visit_exprDavid Tolnay-1/+2
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-4/+2
2024-12-02Rollup merge of #133746 - oli-obk:push-xwyrylxmrtvq, r=jieyouxuGuillaume Gomez-29/+46
2024-12-02Deduplicate some matches that always panic in one armOli Scherer-13/+22
2024-12-02Add a helper method for extracting spans from AttrArgsEqOli Scherer-4/+10
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-20/+22
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-35/+61
2024-11-30Eliminate PREC_FORCE_PARENDavid Tolnay-1/+0
2024-11-28always create `DefId`s when lowering anon-constslcnr-3/+4
2024-11-26Rollup merge of #133140 - dtolnay:precedence, r=fmeaseMichael Goulet-161/+66
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-31/+44
2024-11-24add guard pattern AST nodeMax Niederman-3/+16
2024-11-21Implement the unsafe-fields RFC.Luca Versari-2/+4
2024-11-21Auto merge of #132629 - nnethercote:124141-preliminaries, r=petrochenkovbors-13/+149
2024-11-21Rollup merge of #133153 - maxcabrajac:flat_maps, r=petrochenkovMatthias Krüger-46/+144
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-2/+36
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-11/+113
2024-11-20Itemsmaxcabrajac-17/+59
2024-11-18Add MutVisitor::visit_fn_ret_tymaxcabrajac-2/+6
2024-11-18Add Visitor::visit_qselfmaxcabrajac-11/+14
2024-11-18Add Visitor::visit_fn_declmaxcabrajac-3/+6
2024-11-17PatFieldmaxcabrajac-5/+13
2024-11-17ExprFieldmaxcabrajac-5/+13
2024-11-17GenericParammaxcabrajac-5/+13
2024-11-17Parammaxcabrajac-2/+10
2024-11-17Variantmaxcabrajac-5/+13
2024-11-17Armmaxcabrajac-2/+10
2024-11-17FieldDefmaxcabrajac-5/+13
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-161/+66
2024-11-16Rollup merge of #132787 - maxcabrajac:fnctxt, r=petrochenkovMatthias Krüger-50/+132
2024-11-15Rollup merge of #132956 - maxcabrajac:coroutine_kind, r=petrochenkovGuillaume Gomez-3/+13
2024-11-15Make WalkItemKind::walk signature compatible between Visitor versionsmaxcabrajac-17/+26
2024-11-15Add WalkItemKind::Ctxt so AssocCtxt is not sent to non-Assoc ItemKindsmaxcabrajac-19/+27
2024-11-15Make Visitor::FnKind and MutVisitor::FnKind compatiblemaxcabrajac-29/+94
2024-11-15Rollup merge of #133049 - maxcabrajac:visit_precise_capturing_arg, r=compiler...Matthias Krüger-9/+5
2024-11-14Change visit_precise_capturing_arg so it returns a Self::Resultmaxcabrajac-9/+5
2024-11-12formatmaxcabrajac-4/+1
2024-11-12Add visit_coroutine_kindmaxcabrajac-3/+16
2024-11-12Auto merge of #132282 - Noratrieb:it-is-the-end-of-serial, r=cjgillotbors-1/+0
2024-11-12Delete the `cfg(not(parallel))` serial compilerNoratrieb-1/+0
2024-11-12Rollup merge of #132653 - BoxyUwU:const_arg_stmt_mac_call, r=compiler-errorsMatthias Krüger-4/+31
2024-11-05Check for both `StmtKind::MacCall` and `ExprKind::MacCall`Boxy-4/+31
2024-11-05Add documentation on `ast::Attribute`Guillaume Gomez-0/+46
2024-11-02Do not format generic constsMichael Goulet-0/+6