about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-23 18:13:54 +0200
committerGitHub <noreply@github.com>2025-09-23 18:13:54 +0200
commit15c323fa6dde15d75e1aaf6597aaf6a9bcc083a9 (patch)
tree4248b78e8bac235c8858ebb222b362986dc16bcc /compiler/rustc_parse/src
parent64e81e5cb7f8a09e22cd1f570f6a6deb6bda4373 (diff)
parenta54111a54861ad9f68979622012c85454d43734a (diff)
downloadrust-15c323fa6dde15d75e1aaf6597aaf6a9bcc083a9.tar.gz
rust-15c323fa6dde15d75e1aaf6597aaf6a9bcc083a9.zip
Rollup merge of #146802 - joshtriplett:mbe-simplifications, r=petrochenkov
mbe: Simplifications and refactoring

A few simplifications and refactors in advance of other work.

Macro metavariable expressions were using `Ident::as_str` and doing string
comparisons; I converted them to use symbols.

I factored out a function for transcribing a `ParseNtResult`, which will help
separate the evaluation and transcription of future macro metavariable
expressions.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions