about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-10 17:49:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-07-28 07:58:20 -0700
commit36f2816a1e070d33c27c07f176e692d87781d228 (patch)
tree358266d54f268dea9a64cfa6cd7ba5c2ffe1eb34 /src/rustllvm/RustWrapper.cpp
parent9b2f7624ecb743e9db8e135113f396a7956623e7 (diff)
downloadrust-36f2816a1e070d33c27c07f176e692d87781d228.tar.gz
rust-36f2816a1e070d33c27c07f176e692d87781d228.zip
proc_macro: Use an item's tokens if available
This partly resolves the `FIXME` located in `src/libproc_macro/lib.rs` when
interpreting interpolated tokens. All instances of `ast::Item` which have a list
of tokens attached to them now use that list of tokens to losslessly get
converted into a `TokenTree` instead of going through stringification and losing
span information.

cc #43081
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions