about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-01-28 09:47:59 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-01-28 09:47:59 -0500
commit5d739180cde7f7350b7a90e8a7542bd9c4cd6783 (patch)
tree322588cf6174cc22fc95ca2bc8523112f4a690ba /src/test/codegen/src-hash-algorithm
parent0e190206e2ff0c13d64701d9b4145bf89a2d0cab (diff)
downloadrust-5d739180cde7f7350b7a90e8a7542bd9c4cd6783.tar.gz
rust-5d739180cde7f7350b7a90e8a7542bd9c4cd6783.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions