rust-analyzer: errors are not displayed
I have a very simple program as below in the VSCode:
fn main() {
let f = open("test");
println!("Hello, world!");
}
Rust analyzer doesn’t show any errors as expected. Nothing on problems tab.
Other features seems to work.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 37 (20 by maintainers)
So doesn’t work with workspace? that’s bummer. I have lots of rust projects.
It’s weird. it works in one workspace and but doesn’t work in other workspace even thought projects are same.
I also see this in problem:
Wait, are you using Code workspaces?
rust-analyzerdoesn’t work great on them.I also get those “canceled by client” errors and
cargo checkworks fine for me, so it’s probably unrelated.