Closed CAD97 closed 4 years ago
GitHub suggested is r? @alexcrichton
I don't know if this is the actual desired semantics of the proc-macro2 API; this was just a minimal change in order to get the observed behavior in syn to not panic. Note that the proc-macro2 fallback imp has ::new
and ::new_raw
, neither of which strip r#
from the start.
Fixes #33
Tested with the same patch to the demo derive as in the issue, which now gives