diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-19 07:06:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-19 07:06:44 -0700 |
| commit | 53323751a9caaf678689e0d437f79d0c169b2dae (patch) | |
| tree | 712369d9688700a6f9f8139ce82e24ed9e9d0064 /src/rustllvm/RustWrapper.cpp | |
| parent | 5ba21844f6c85a0cd55c8ea0250d5cd758134f84 (diff) | |
| download | rust-53323751a9caaf678689e0d437f79d0c169b2dae.tar.gz rust-53323751a9caaf678689e0d437f79d0c169b2dae.zip | |
proc_macro: Preserve spans of attributes on functions
This commit updates the tokenization of items which are subsequently passed to `proc_macro` to ensure that span information is preserved on attributes as much as possible. Previously this area of the code suffered from #43081 where we haven't actually implemented converting an attribute to to a token tree yet, but a local fix was possible here. Closes #47941
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
