-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare proc_macro for decoupling it from the rest of the compiler. #52552
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors: r+ |
📌 Commit 99eac01 has been approved by |
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
☀️ Test successful - status-appveyor, status-travis |
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