[Guide] How to fix a mismatch between the proc macro version used by your Rust toolchain and the one used by NVF's rust analyzer #1250
Unanswered
KrappRamiro
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
mark as autosolved, this is a guide |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You probably don't want to use
With the above methods you can override the version of RA NVF pulls, but also make it explicit what exactly you are pulling. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! If your rust-analyzer shows the error
That means there's a mismatch between the proc-macro version used by your Rust toolchain and the one used by NVF’s rust-analyzer.
To fix that, all you have to do is define
lsp.packagelike this:Beta Was this translation helpful? Give feedback.
All reactions