about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-21 04:19:15 +0000
committerbors <bors@rust-lang.org>2018-07-21 04:19:15 +0000
commitf8f6e7c04d1331574589df298e8651e7104fe2ff (patch)
treeba2650a9667a5fcf780e69a8f543b94602159720 /src/rustllvm/RustWrapper.cpp
parentbf7afee52a2e92a509eae1e9530ee75da8f9f621 (diff)
parent53323751a9caaf678689e0d437f79d0c169b2dae (diff)
downloadrust-f8f6e7c04d1331574589df298e8651e7104fe2ff.tar.gz
rust-f8f6e7c04d1331574589df298e8651e7104fe2ff.zip
Auto merge of #52536 - alexcrichton:attr-spans, r=nikomatsakis
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