Interesting, in one of workspaces I see completions, auto-formatting works, but no diagnostics. Looking at rust-analyzer logfile, there's errors like:
ERROR flycheck 0: File with cargo diagnostic not found in VFS: file not found: workspace-dir/foo/bar/src/x.rs
ERROR flycheck 0: File with cargo diagnostic not found in VFS: file not found: workspace-dir/foo/foo/src/y.rs
whereas the actual layout is
workspace-dir/foo/src/y.rs
workspace-dir/bar/src/x.rs
(I'm working on crate foo that depends on bar, within the workspace, and for some reason everything is erroneously prefixed with its root path 'foo'; however it's a [package] whereas there's root Cargo.toml in workspace-dir with workspace members).
Interesting, in one of workspaces I see completions, auto-formatting works, but no diagnostics. Looking at rust-analyzer logfile, there's errors like:
whereas the actual layout is
(I'm working on crate foo that depends on bar, within the workspace, and for some reason everything is erroneously prefixed with its root path 'foo'; however it's a
[package]whereas there's rootCargo.tomlin workspace-dir with workspace members).