Closed BratSinot closed 2 years ago
This is the correct behavior.
Your macro is basically like the example macro in the explanation on this page: https://danielkeep.github.io/tlborm/book/mbe-min-hygiene.html.
macro is basically like the example macro in the explanation on this
Thanks.
I had my guess that it was in scope, but any way to get around this without let var = macro!();
?
Yeah, you can make gen
a proc macro and make it declare the local with a call site span.
I'll close this issue since paste
wouldn't be involved at that point.
Greetings!
I don't know, maybe it related with #7, but I can't use variable from macro:
I'm getting: