diff --git a/crates/gpui2_macros/src/action.rs b/crates/gpui2_macros/src/action.rs index abc75a8759..296e3f08b1 100644 --- a/crates/gpui2_macros/src/action.rs +++ b/crates/gpui2_macros/src/action.rs @@ -38,6 +38,7 @@ pub fn action(input: TokenStream) -> TokenStream { let build_impl = if is_unit_struct { quote! { + let _ = value; Ok(std::boxed::Box::new(Self {})) } } else {