mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
094eaf0250
macros: fix partially consumed tokens in macro matchers Fixes #37175. This PR also avoids re-transcribing the tokens consumed by a matcher (and cloning the `TtReader` once per matcher), which improves expansion performance of the test case from #34630 by ~8%. r? @nrc