about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-19 07:06:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-19 07:06:44 -0700
commit53323751a9caaf678689e0d437f79d0c169b2dae (patch)
tree712369d9688700a6f9f8139ce82e24ed9e9d0064 /src/rustllvm/RustWrapper.cpp
parent5ba21844f6c85a0cd55c8ea0250d5cd758134f84 (diff)
downloadrust-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