-
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
Recursive macro call inside concat macro fails to find macros referred to by $crate #63460
Comments
If you try and build Rustup, you get a similar failure, but without recursion or |
cc @petrochenkov for the hygiene macro in #63535 |
This comment has been minimized.
This comment has been minimized.
@lzutao |
Thanks, I filed it in #63685 |
Fixed in #63717. |
Fix nested eager expansions in arguments of `format_args` Fixes rust-lang#63460 Fixes rust-lang#63685 (regression from making `format_args` opaque - rust-lang#63114) r? @matthewjasper
Thanks for your work on this! |
(Playground)
Errors:
If either the recursion (playground) or the
concat!
is removed (playground), this compiles exactly as expected. Additionally, if I explicitly name my crate, it works as expected, but would be vulnerable to crate renames in user code (can't reproduce in playground because it doesn't build a library).The text was updated successfully, but these errors were encountered: