From 3ecb7e81f1960cfc23cf9ca253b6fb11e7c94f29 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Fri, 21 Jan 2022 11:24:05 -0700 Subject: [PATCH] Remove panic when guest attempts to go to definition We'll implement this soon but want to merge something stable to main. Co-Authored-By: Max Brunsfeld --- crates/project/src/project.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/project/src/project.rs b/crates/project/src/project.rs index 5891a1c9bc..f01a875011 100644 --- a/crates/project/src/project.rs +++ b/crates/project/src/project.rs @@ -819,7 +819,8 @@ impl Project { Ok(definitions) }) } else { - todo!() + log::info!("go to definition is not yet implemented for guests"); + Task::ready(Ok(Default::default())) } }