rust/compiler/rustc_parse
Jonas Schievink 3e8ae5dcba
Rollup merge of #81472 - Aaron1011:fix/revert-cursor-clone, r=petrochenkov
Clone entire `TokenCursor` when collecting tokens

Reverts PR #80830
Fixes taiki-e/pin-project#312

We can have an arbitrary number of `None`-delimited group frames pushed
on the stack due to proc-macro invocations, which can legally be exited.
Attempting to account for this would add a lot of complexity for a tiny
performance gain, so let's just use the original strategy.
2021-01-31 01:47:34 +01:00
..
src Rollup merge of #81472 - Aaron1011:fix/revert-cursor-clone, r=petrochenkov 2021-01-31 01:47:34 +01:00
Cargo.toml