We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfd8ae commit 5d126a1Copy full SHA for 5d126a1
crates/rust-analyzer/src/reload.rs
@@ -314,7 +314,9 @@ impl GlobalState {
314
let mut args = args.clone();
315
let mut path = path.clone();
316
317
- if let ProjectWorkspace::Cargo { sysroot, .. } = ws {
+ if let ProjectWorkspace::Cargo { sysroot, .. }
318
+ | ProjectWorkspace::Json { sysroot, .. } = ws
319
+ {
320
tracing::debug!("Found a cargo workspace...");
321
if let Some(sysroot) = sysroot.as_ref() {
322
tracing::debug!("Found a cargo workspace with a sysroot...");
0 commit comments