about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/mut_visit.rs
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-10/+9
2025-07-22Implement AST visitors using a derive macro.Camille GILLOT-19/+240
2025-06-19completely deduplicate `Visitor` and `MutVisitor`Deadbeef-422/+22
2025-06-19remove `walk_item_kind` from `MutVisitor`Deadbeef-46/+0
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-3/+3
2025-06-09deduplicate the rest of AST walker functionsDeadbeef-592/+24
2025-06-06deduplicate more `walk_*` methods in AST visitDeadbeef-85/+15
2025-06-05use helper macro for flat_map vs visit_list, initial dedupsDeadbeef-72/+26
2025-06-01Add `visit_id` to ast `Visitor`Deadbeef-130/+0
2025-05-30Rollup merge of #141430 - fee1-dead-contrib:push-nmzoprvtsvww, r=petrochenkovMatthias Krüger-103/+0
2025-05-29avoid some usages of `&mut P<T>` in AST visitorsDeadbeef-22/+22
2025-05-29remove `visit_clobber` and move `DummyAstNode` to `rustc_expand`Deadbeef-103/+0
2025-05-27Rollup merge of #141632 - fee1-dead-contrib:push-txmttkxvwqxl, r=oli-obkMatthias Krüger-11/+3
2025-05-27Rollup merge of #141635 - fee1-dead-contrib:push-lmyymwotrspk, r=oli-obkMichael Goulet-127/+0
2025-05-27Remove out-of-date `noop_*` names.Nicholas Nethercote-22/+4
2025-05-27further dedup `WalkItemKind` for `mut_visit` and `visit`Deadbeef-127/+0
2025-05-27remove `visit_mt` from `ast::mut_visit`Deadbeef-11/+3
2025-05-23further deduplicate ast visitor codeDeadbeef-233/+5
2025-05-19introduce common macro for `MutVisitor` and `Visitor` to dedup codeDeadbeef-34/+3
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-123/+16
2025-04-30Auto merge of #127516 - nnethercote:simplify-LazyAttrTokenStream, r=petrochenkovbors-1/+1
2025-04-30Simplify `LazyAttrTokenStream`.Nicholas Nethercote-1/+1
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+1
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-37/+3
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/+1
2025-04-04Implement `super let`.Mara Bos-1/+2
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-37/+3
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-2/+0
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-34/+50
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-1/+1
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-1/+1
2025-03-25Rollup merge of #138911 - compiler-errors:define-opaque, r=oli-obkJacob Pratt-16/+38
2025-03-25Allow defining opaques in statics and constsMichael Goulet-16/+38
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-1/+3
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-1/+1
2025-03-21Rollup merge of #138754 - oli-obk:push-vtqtnwluyxop, r=compiler-errorsMatthias Krüger-1/+22
2025-03-20Handle spans of `~const`, `const` and `async` trait bounds in macro expansionOli Scherer-1/+22
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-2/+5
2025-03-14Preserve yield position during pretty printingEric Holk-1/+1
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-12/+0
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-1/+13
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-12/+0
2025-03-06Use closure parse codeSantiago Pastorino-0/+3
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+4
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-5/+13
2025-02-28Remove `NtPath`.Nicholas Nethercote-1/+0
2025-02-28Remove `NtMeta`.Nicholas Nethercote-6/+0
2025-02-28Remove `NtPat`.Nicholas Nethercote-1/+0