Commit 036b38c
committed
Auto merge of rust-lang#126993 - petrochenkov:atvisord3, r=BoxyUwU
ast: Standardize visiting order
Order: ID, attributes, inner nodes in source order if possible, tokens, span.
Also always use exhaustive matching in visiting infra, and visit some discovered missing nodes.
Unlike rust-lang#125741 this shouldn't affect anything serious like `macro_rules` scopes.File tree
3 files changed
+389
-317
lines changed- compiler/rustc_ast/src
- tests/ui/stats
3 files changed
+389
-317
lines changed
0 commit comments