This repository was archived by the owner on Dec 27, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Hygiene breaks add_one! macro #15
Labels
Comments
Is there a workaround for this? |
@rushmorem No workaround exists. As a result of rust-lang/rust#46478 it was decided that the fix for macro hygiene will stay, disallowing the use of local variables as macro input to proc-macro-hack. As of 727987f add_one() in the README no longer references local variables anymore. |
rushmorem
added a commit
to rushmorem/proc-macro-hack
that referenced
this issue
May 30, 2018
It no longer uses this crate due to dtolnay#15.
Fixed in 0.5.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
add_one!
example from the readme works with nightly-2017-12-02 but not nightly-2017-12-03.The text was updated successfully, but these errors were encountered: