-
Notifications
You must be signed in to change notification settings - Fork 380
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
Can't expand any proc macros in current nightly: Failed to expand the macro: a procedural macro error occurred:
#9048
Comments
Still happening with |
It works with an older version of rust (I have |
Just tried going back to rust |
Just debugged the extension, and it seems the error that comes back from the native helper is just |
May be related to rust-lang/rust-analyzer#12600 |
Breakdowns of proc macros on the nightly Rust are absolutely usual, unfortunately. We even going to specially detect them and show more informative messages (see #8930). More robust solutions are discussed here. You can use stable Rust or try to find a nightly version that works. |
Environment
Problem description
intellij-rust
doesn't expand any macros, doesn't matter which project or which crates contain the macros (e.g.serde::Serialize
)I get the error message
Failed to expand the macro: a procedural macro error occurred:
(nothing after the colon)Steps to reproduce
The text was updated successfully, but these errors were encountered: