diff options
Diffstat (limited to 'crates/rust-analyzer/src/bin/main.rs')
-rw-r--r-- | crates/rust-analyzer/src/bin/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index ba4402ade..97b246a32 100644 --- a/crates/rust-analyzer/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs | |||
@@ -134,6 +134,10 @@ fn run_server() -> Result<()> { | |||
134 | 134 | ||
135 | let discovered = ProjectManifest::discover_all(&workspace_roots); | 135 | let discovered = ProjectManifest::discover_all(&workspace_roots); |
136 | log::info!("discovered projects: {:?}", discovered); | 136 | log::info!("discovered projects: {:?}", discovered); |
137 | if discovered.is_empty() { | ||
138 | log::error!("failed to find any projects in {:?}", workspace_roots); | ||
139 | } | ||
140 | |||
137 | config.linked_projects = discovered.into_iter().map(LinkedProject::from).collect(); | 141 | config.linked_projects = discovered.into_iter().map(LinkedProject::from).collect(); |
138 | } | 142 | } |
139 | 143 | ||