-
Notifications
You must be signed in to change notification settings - Fork 1.7k
rust-analzyer doesn't report error #11075
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
Perchance, do you have checkOnSave enabled? |
I've run into this too actually, though it was with nightly toolchains: Every time I updated nightly, I had to do |
Yes, it's enabled. Actually it was worked well before, but I got a trouble after put non-wasm project in my wasm project's workspace(Not very sure that is the reason of problem). For now I deleted workspace (!?) and it works very well. Should I give up using workspace if I do wasm, non-wasm both project together? |
I was expecting rust-analzyer to tell the user why when a check fails. |
More info! I hope rust-analzyer to explain to user, which crate rust-analzyer died while checking with a popup at the bottom right of vscode at least. |
You mean a dependency of yours failed to build right? Ye that will prevent cargo from doing anymore error checking in your workspace swallowing the errors. We should probably check if we get diagnostics in non-workspace dependencies and notify the user about that. |
Fixed in #11960 |
cargo check
reports errors but rust-analyzer doesn't.vs-code with rust-analyzer

cargo check
resultrust-analyzer version: 0add6e9 2021-12-20 stable
rustc version: rustc 1.56.1 (59eed8a2a 2021-11-01)
The text was updated successfully, but these errors were encountered: