Closed
Description
Hello,
This is similar to #12673, so I will provide similar information.
The diagnostic in VSCode
This is the Component proc-macro from bevy 0.10 BTW
In the VSCode "Rust Analyzer Language Server" output tab, I get the following message:
[ERROR rust_analyzer] Unexpected error: expected initialize request, got error: receiving on an empty and disconnected channel
expected initialize request, got error: receiving on an empty and disconnected channel
Infos from the terminal
$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-2023-03-07-x86_64-unknown-linux-gnu (override)
nightly-x86_64-unknown-linux-gnu
$ rustup --version
rustup 1.25.2 (17db695f1 2023-02-01)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.70.0-nightly (f63ccaf25 2023-03-06)`
$ rustc --version
rustc 1.70.0-nightly (f63ccaf25 2023-03-06)
$ /home/melchiore/.rustup/toolchains/nightly-2023-03-07-x86_64-unknown-linux-gnu/bin/rust-analyzer --version
rust-analyzer 1.70.0-nightly (f63ccaf 2023-03-06)
I am using vscode with an overriden rust-analyzer (as I tried to fix this issue).
Here is my .vscode/settings.json
{
"rust-analyzer.procMacro.server": "/home/melchiore/.rustup/toolchains/nightly-2023-03-07-x86_64-unknown-linux-gnu/bin/rust-analyzer"
}