about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/visit.rs
AgeCommit message (Expand)AuthorLines
2025-08-11Extract ast TraitImplHeaderCameron Steffen-2/+7
2025-08-09remove `P`Deadbeef-15/+14
2025-07-22Implement AST visitors using a derive macro.Camille GILLOT-1511/+724
2025-07-17parse `const trait Trait`Deadbeef-1/+2
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-2/+2
2025-07-05Complete mut_visit.Camille GILLOT-11/+79
2025-07-04Rollup merge of #143380 - cjgillot:kw_span, r=compiler-errorsJacob Pratt-1/+2
2025-07-03Replace kw_span by full span.Camille GILLOT-1/+2
2025-07-03Rollup merge of #134006 - klensy:typos, r=nnethercoteJana Dönszelmann-1/+1
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-07-01Detect more cases of unused_parens around typesBenjamin Schulz-1/+1
2025-06-22Auto merge of #142878 - GuillaumeGomez:rollup-53dohob, r=GuillaumeGomezbors-1/+1
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-1/+1
2025-06-19completely deduplicate `Visitor` and `MutVisitor`Deadbeef-238/+415
2025-06-16Fix some unused fields in AST visitorMichael Goulet-2/+2
2025-06-16Make sure to propagate result from visit_expr_fieldsMichael Goulet-1/+1
2025-06-12early linting: avoid redundant calls to `check_id`Deadbeef-1/+2
2025-06-09deduplicate the rest of AST walker functionsDeadbeef-573/+642
2025-06-06deduplicate more `walk_*` methods in AST visitDeadbeef-132/+131
2025-06-05use helper macro for flat_map vs visit_list, initial dedupsDeadbeef-81/+113
2025-06-04Improve some `Visitor` comments.Nicholas Nethercote-0/+4
2025-06-01Add `visit_id` to ast `Visitor`Deadbeef-152/+224
2025-05-29Rollup merge of #141636 - fee1-dead-contrib:push-ntqvvxwuvrvx, r=petrochenkovGuillaume Gomez-4/+4
2025-05-29avoid some usages of `&mut P<T>` in AST visitorsDeadbeef-4/+4
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-3/+3
2025-05-27further dedup `WalkItemKind` for `mut_visit` and `visit`Deadbeef-157/+145
2025-05-23further deduplicate ast visitor codeDeadbeef-196/+279
2025-05-19introduce common macro for `MutVisitor` and `Visitor` to dedup codeDeadbeef-15/+69
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+1
2025-04-07Rollup merge of #139112 - m-ou-se:super-let, r=lcnrStuart Cook-1/+1
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-1/+1
2025-04-04Implement `super let`.Mara Bos-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-28/+59
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-7/+46
2025-03-25Allow defining opaques in statics and constsMichael Goulet-7/+46
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-2/+7
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-1/+1
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-2/+2
2025-03-14Preserve yield position during pretty printingEric Holk-1/+1
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+12
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+1
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+2
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-11Add a TyPat in the AST to reuse the generic arg lowering logicOli Scherer-1/+16
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-1/+16
2025-01-28Refactor FnKind variant to hold &FnCelina G. Val-10/+15
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
2024-12-31Account for format_args in HiddenUnicodeCodepoints lintMichael Goulet-1/+1