about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/generics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-27 12:25:46 +0000
committerbors <bors@rust-lang.org>2024-06-27 12:25:46 +0000
commit036b38ced36b0ed16579f95b4647ba7424f6b1bc (patch)
treef02029e90c8387ebb6d3227c9e9cd4af4b0bf626 /compiler/rustc_parse/src/parser/generics.rs
parenta4ce33c0b232deda1cbce447e80f187cd34952a6 (diff)
parentba3f6812c177dde51ec4164413868311d89047f1 (diff)
downloadrust-036b38ced36b0ed16579f95b4647ba7424f6b1bc.tar.gz
rust-036b38ced36b0ed16579f95b4647ba7424f6b1bc.zip
Auto merge of #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 https://github.com/rust-lang/rust/pull/125741 this shouldn't affect anything serious like `macro_rules` scopes.
Diffstat (limited to 'compiler/rustc_parse/src/parser/generics.rs')
0 files changed, 0 insertions, 0 deletions