From: bors Date: Sat, 21 Jul 2018 08:31:32 +0000 (+0000) Subject: Auto merge of #52552 - eddyb:proc-macro-prep, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=bd455ef165f110143b97106b4e7cd8c83cd21f03;p=rust.git Auto merge of #52552 - eddyb:proc-macro-prep, r=alexcrichton Prepare proc_macro for decoupling it from the rest of the compiler. This is #49219 up to the point where the bridge is introduced. Aside from moving some code around, the largest change is the rewrite of `proc_macro::quote` to be simpler and do less introspection. I'd like to also extend `quote!` with `${stmt;...;expr}` instead of just `$variable` (and maybe even `$(... $iter ...)*`), which seems pretty straight-forward now, but I don't know if/when I should. r? @alexcrichton or @dtolnay cc @jseyfried @petrochenkov --- bd455ef165f110143b97106b4e7cd8c83cd21f03