-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Error on proc macro #6696
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
Comments
This macro is from crate frame-support.
|
It expects |
Any quick fix that I can do? Seems there's a env setting in rust-analyzer. |
The Setting |
Seems this setting not exist. Oh, I found it.
|
@AurevoirXavier I used this:
Setting what you did disables all of rust-analyzer's diagnostics, probably not what we want. |
Thanks. |
6807: Replicate Cargo environment variables r=jonas-schievink a=jonas-schievink These might be relied on by procedural macros, and can also be accessed via `env!`. Required for fixing #6696. We do not yet propagate these to any proc macros though. Co-authored-by: Jonas Schievink <[email protected]>
The same is happening again, on Mac Silicon with Rust Analyzer version 0.2.853 and VSCode version Version: 1.63.2 Diagnostics for |
It can work 2 days ago.
But today I update it on vscode.
And the proc macro report error. Looks so noisy.
The text was updated successfully, but these errors were encountered: