rust-analyzer version: 2026-01-19
rustc version: 1.93.0
editor or extension: Helix
relevant settings: n/a
repository link (if public, optional): https://github.com/winterqt/rust-analyzer-workspace-issue-repro (this uses an older version of r-a and rustc -- nothing changes)
When using r-a with Helix (and probably other clients like Neovim, but not VS Code IIRC), and opening src/main.rs in bar (cwd = bar as well), r-a loads the workspace instead of bar.
rust-analyzer version: 2026-01-19
rustc version: 1.93.0
editor or extension: Helix
relevant settings: n/a
repository link (if public, optional): https://github.com/winterqt/rust-analyzer-workspace-issue-repro (this uses an older version of r-a and rustc -- nothing changes)
When using r-a with Helix (and probably other clients like Neovim, but not VS Code IIRC), and opening
src/main.rsinbar(cwd =baras well), r-a loads the workspace instead ofbar.