rust/src/libproc_macro
bors 9e3caa23f9 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
2018-05-10 16:27:32 +00:00
..
Cargo.toml Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +01:00
diagnostic.rs
lib.rs Auto merge of #49823 - Zoxc:term-str, r=alexcrichton 2018-05-10 16:27:32 +00:00
quote.rs Remove usages of Term::as_str and mark it for removal 2018-04-30 05:27:05 +02:00