about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/proc_macro_server.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-12-04 15:36:49 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-12-19 16:05:41 +1100
commitfb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd (patch)
treeca33c84c749690239e8e1e57383ccfc5e7afee8f /compiler/rustc_expand/src/proc_macro_server.rs
parent48f7714819525ec5b361ea480eaecea61620a56b (diff)
downloadrust-fb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd.tar.gz
rust-fb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd.zip
Tweak some parser `check`/`eat` methods.
The most significant is `check_keyword`: it now only pushes to
`expected_token_types` if the keyword check fails, which matches how all
the other `check` methods work.

The remainder are just tweaks to make these methods more consistent with
each other.
Diffstat (limited to 'compiler/rustc_expand/src/proc_macro_server.rs')
0 files changed, 0 insertions, 0 deletions