-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Exported macros break paths #20701
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
- Fixed deprecated macro syntaxes per the macro reform. - Changed the test macro syntax; it was affected by rust-lang/rust#20701 which prevents the direct use of `self::` or `super::` paths in exported macros. This triggers a regeneration of indices.
Nice catch. I was afraid something like this would happen... Really a bug in pretty printing, as it doesn't preserve the ident style. This is what we get for hacking contextual lexer information into the token stream... |
…exported macros. Fixes issue rust-lang#20701
Fixes a build error in current Rust snapshot
The original example now compiles fine, but then I'm not sure about rust-mobile/android-rs-glue#27. @tomaka, is this issue still relevant? |
I didn't test myself, but @ozkriff reported that it's fixed. |
Yeah it looks like this has been fixed, yay! |
Macro definitions encoded to the metadata do not preserve the
ModName
identifier style, thus certain paths break down.The text was updated successfully, but these errors were encountered: