-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
This is a serious regression in nightly and it's important to fix it before the next release.
@matklad, please take a look.
Hi. For more than two hours, I tried debugging my VSCode since Rust-Analyzer was not working while I was implementing a gRPC Service using tonic.
By not working I mean that I do not get any autocompletion/IntelliSense for variables, structs, functions...
However, I still get errors reported by cargo check.
I figured out that when I was implementing methods in #[tonic::async_trait], Rust-Analyzer was not working, but when I remove #[tonic::async_trait] Rust-Analyzer is working.
I chose the Critical Nightly Regression since Rust-Analyzer is unusable in #[tonic::async_trait] and working in #[tonic::async_trait]-like traits is pretty common. (Sorry if it was not the good choice)
Versions
Code-Insider
1.61.0-insider
87260247dc7b912db6e6a21a366e6f50dca759ba
x64In WSL2 on Windows 10