diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rs index e8c45f0191..f1d4ff76ac 100644 --- a/crates/gpui2/src/window.rs +++ b/crates/gpui2/src/window.rs @@ -1620,7 +1620,7 @@ impl<'a, 'w, V: 'static> ViewContext<'a, 'w, V> { ) -> Subscription where V2: 'static, - V: Any + Send, + V: 'static + Send, E: Entity, { let view = self.view();