about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-10 16:27:32 +0000
committerbors <bors@rust-lang.org>2018-05-10 16:27:32 +0000
commit9e3caa23f99816caf3c2fb69ff5c88b512fb1b38 (patch)
tree38b311241c6f301f34b1a7894e1cc0bda4519029 /src/rustllvm/PassWrapper.cpp
parent0a223d139cd26e5bfab23a478a5cad845eaab131 (diff)
parent221b7ca3c27df5bb4729a7060e169c0a34dab9d0 (diff)
downloadrust-9e3caa23f99816caf3c2fb69ff5c88b512fb1b38.tar.gz
rust-9e3caa23f99816caf3c2fb69ff5c88b512fb1b38.zip
Auto merge of #49823 - Zoxc:term-str, r=alexcrichton
Remove usages of Term::as_str and mark it for removal

Returning references to rustc internal data structures is a bad idea since their lifetimes are unrelated to the lifetimes of proc_macro values.

See https://github.com/rust-lang/rust/pull/46972 and the `Taming thread-local storage` section of https://internals.rust-lang.org/t/parallelizing-rustc-using-rayon/6606

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions