Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix compile errors
Antonio Scandurra5e5043029900
diff --git a/crates/feature_flags2/src/feature_flags2.rs b/crates/feature_flags2/src/feature_flags2.rsindex 7b1c0dd4d71..446a2867e50 100644--- a/crates/feature_flags2/src/feature_flags2.rs+++ b/crates/feature_flags2/src/feature_flags2.rs@@ -28,7 +28,7 @@ pub trait FeatureFlagViewExt<V: 'static> {F: Fn(bool, &mut V, &mut ViewContext<V>) + Send + Sync + 'static;}-impl<V> FeatureFlagViewExt<V> for ViewContext<'_, '_, V>+impl<V> FeatureFlagViewExt<V> for ViewContext<'_, V>whereV: 'static + Send + Sync,{diff --git a/crates/gpui2_macros/src/derive_component.rs b/crates/gpui2_macros/src/derive_component.rsindex d1919c8bc4f..a9467033101 100644--- a/crates/gpui2_macros/src/derive_component.rs+++ b/crates/gpui2_macros/src/derive_component.rs@@ -30,7 +30,7 @@ pub fn derive_component(input: TokenStream) -> TokenStream {let expanded = quote! {impl #impl_generics gpui2::Component<#view_type> for #name #ty_generics #where_clause {fn render(self) -> gpui2::AnyElement<#view_type> {- (move |view_state: &mut #view_type, cx: &mut gpui2::ViewContext<'_, '_, #view_type>| self.render(view_state, cx))+ (move |view_state: &mut #view_type, cx: &mut gpui2::ViewContext<'_, #view_type>| self.render(view_state, cx)).render()}}