Proc Macro not expanded, Unsupported Metadata Version 7 - Rustc v1.70.0
Opened this issue · 6 comments
Open Settings (Ctrl + .)
goto "Plugin Settings" > "Rust"
Change "Server Path" to "/usr/bin/rust-analyzer"
or whatever it is in your case.
In windows doesn't work.
Can confirm it does not work on windows with latest release of lapce. Says "server path {__} couldn't be found".
A work around is to, instead of typing the full path to the executable on windows (~/.cargo/bin/rust-analyzer) (the tilde of course replaced with C:/Users/{you}), just fill in rust-analyzer.exe. For some reason, to resolve the server path, it first passes it to the cmd "where" command, which does not resolve full paths, apparently. I'm not sure why this is done or why it would be necessary--it may have to do with wasm and such. I assume *nix behaves differently
Because it necessary to add .exe
to the command
I got the same problem, just the version is 8. I'm on macos, can't find where rust-anaylzer is
Edit: I just found out, I have to type the full path (not ~/../..), and with "rust-analyzer" in the end.