diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 9f6c7f1612..5480f9dda1 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -2189,8 +2189,9 @@ impl Workspace { fn render_disconnected_overlay(&self, cx: &mut RenderContext) -> Option { if self.project.read(cx).is_read_only() { + enum DisconnectedOverlay {}; Some( - MouseEventHandler::new::(0, cx, |_, cx| { + MouseEventHandler::new::(0, cx, |_, cx| { let theme = &cx.global::().theme; Label::new( "Your connection to the remote project has been lost.".to_string(),