diff --git a/crates/rust-analyzer/src/world.rs b/crates/rust-analyzer/src/world.rs index 01084f81868..ad096a1d899 100644 --- a/crates/rust-analyzer/src/world.rs +++ b/crates/rust-analyzer/src/world.rs @@ -31,7 +31,7 @@ use ra_db::ExternSourceId; use rustc_hash::{FxHashMap, FxHashSet}; -fn create_watcher(workspaces: &[ProjectWorkspace], options: &Options) -> CheckWatcher { +fn create_watcher(workspaces: &[ProjectWorkspace], options: &Options) -> Option { // FIXME: Figure out the multi-workspace situation workspaces .iter()