Rust-analyzer issues with multiple bin/ targets

rust-analyzer on vscode seems to be having trouble with cargo-check and its usual error checks when I have multiple bin targets. Syntax highlighting and parsing works, type inference as well. But any advanced error checking like two mutable borrows, calling a nonexistent function, etc. dont work. Is it just me?

It's not just you. I have exactly the same issue.

I was using nightly and hit this issue. Switching back to stable solves the problem.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.