diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-09-26 19:33:42 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-10-21 18:57:29 -0400 |
| commit | b9b254641719ce42e9b8ec56c058f71af017a317 (patch) | |
| tree | 7aa6691de4d2a11dc760529ee1330911a1f4ecd8 /src/test/codegen/src-hash-algorithm | |
| parent | 1eaadebb3dee31669c7649b32747381d11614fae (diff) | |
| download | rust-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
