diff options
author | Kirill Bulatov <[email protected]> | 2021-05-23 18:56:54 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 20:46:20 +0100 |
commit | de090749d9643a8035135092e2546cd0ddb854a6 (patch) | |
tree | 01f0564f53a7763ecf28a46860997c294a042f3c /crates/rust-analyzer/src/global_state.rs | |
parent | 695569d9784b4a7d6e91451a0cc354f8bd009b59 (diff) |
Drag detached files towards loading
Diffstat (limited to 'crates/rust-analyzer/src/global_state.rs')
-rw-r--r-- | crates/rust-analyzer/src/global_state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index 6f2f482c1..6a36d29d4 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs | |||
@@ -312,6 +312,7 @@ impl GlobalStateSnapshot { | |||
312 | cargo.target_by_root(&path).map(|it| (cargo, it)) | 312 | cargo.target_by_root(&path).map(|it| (cargo, it)) |
313 | } | 313 | } |
314 | ProjectWorkspace::Json { .. } => None, | 314 | ProjectWorkspace::Json { .. } => None, |
315 | ProjectWorkspace::DetachedFiles { .. } => None, | ||
315 | }) | 316 | }) |
316 | } | 317 | } |
317 | } | 318 | } |