Skip to content

Commit

Permalink
Auto merge of rust-lang#126993 - petrochenkov:atvisord3, r=BoxyUwU
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jun 27, 2024
2 parents a4ce33c + ba3f681 commit 036b38c
Show file tree
Hide file tree
Showing 3 changed files with 389 additions and 317 deletions.
Loading

0 comments on commit 036b38c

Please sign in to comment.