about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-03-19 13:33:33 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-03-21 10:18:34 +1100
commita94bb2a0136b72d177fcd1c49d50227ded195133 (patch)
tree3a6ee999823c866ccd51c84a5df366811e7eb774 /compiler/rustc_parse/src/parser/expr.rs
parentb7f3b714da1b9f72ae16f37ff6e2def306e85f69 (diff)
downloadrust-a94bb2a0136b72d177fcd1c49d50227ded195133.tar.gz
rust-a94bb2a0136b72d177fcd1c49d50227ded195133.zip
Streamline `NamedMatch`.
This commit combines `MatchedTokenTree` and `MatchedNonterminal`, which
are often considered together, into a single `MatchedSingle`. It shares
a representation with the newly-parameterized `ParseNtResult`.

This will also make things much simpler if/when variants from
`Interpolated` start being moved to `ParseNtResult`.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions