diff options
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r-- | crates/rust-analyzer/src/bin/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index f0abb5b15..7ee35d52b 100644 --- a/crates/rust-analyzer/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs | |||
@@ -214,7 +214,7 @@ fn run_server() -> Result<()> { | |||
214 | 214 | ||
215 | let discovered = ProjectManifest::discover_all(&workspace_roots); | 215 | let discovered = ProjectManifest::discover_all(&workspace_roots); |
216 | log::info!("discovered projects: {:?}", discovered); | 216 | log::info!("discovered projects: {:?}", discovered); |
217 | if discovered.is_empty() { | 217 | if discovered.is_empty() && config.detached_files().is_empty() { |
218 | log::error!("failed to find any projects in {:?}", workspace_roots); | 218 | log::error!("failed to find any projects in {:?}", workspace_roots); |
219 | } | 219 | } |
220 | 220 | ||