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>2020-09-26 19:33:42 -0400
committerAaron Hill <aa1ronham@gmail.com>2020-10-21 18:57:29 -0400
commitb9b254641719ce42e9b8ec56c058f71af017a317 (patch)
tree7aa6691de4d2a11dc760529ee1330911a1f4ecd8 /src/test/codegen/src-hash-algorithm
parent1eaadebb3dee31669c7649b32747381d11614fae (diff)
downloadrust-b9b254641719ce42e9b8ec56c058f71af017a317.tar.gz
rust-b9b254641719ce42e9b8ec56c058f71af017a317.zip
Unconditionally capture tokens for attributes.
This allows us to avoid synthesizing tokens in `prepend_attr`, since we
have the original tokens available.

We still need to synthesize tokens when expanding `cfg_attr`,
but this is an unavoidable consequence of the syntax of `cfg_attr` -
the user does not supply the `#` and `[]` tokens that a `cfg_attr`
expands to.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions