-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Proc macros do not expand on latest nightly #13373
Comments
Am also experiencing issues with completion in Although I am able to use the "Expand macro recursively" functionality to expand it: And I do have this in my "Rust Analyzer Language Server" output:
I wasn't seeing any completion in |
Is that in vscode? How is rust-analyzer installed? How is rustc/cargo installed? |
Yep.
I'm pretty sure I got it from the prompt after installing the VS Code RA extension. Not 100% sure, though.
With Linux rustup |
Do you still experience this problem? |
I know you're probably asking @SkyfallWasTaken, but because I confirmed that issue back when it was opened, I can confirm I'm no longer able to reproduce it (even with an era-appropriate tokio version). |
Ye I think we can close this then. |
Nah, I haven't had the issue in a while |
rust-analyzer version: rust-analyzer version: 0.3.1229-standalone
rustc version: rustc 1.66.0-nightly (8796e7a9c 2022-10-08)
relevant settings: n/a I think?
RA no longer works with today's nightly when it comes to proc macros:
This can be reproduced with the following code:
The error is:
The rest of RA works, so in the example it'd warn about
f1
not being used.The text was updated successfully, but these errors were encountered: