diff --git a/crates/lang/codegen/src/generator/dispatch.rs b/crates/lang/codegen/src/generator/dispatch.rs index 6a2535f2ce1..c9ba20f4972 100644 --- a/crates/lang/codegen/src/generator/dispatch.rs +++ b/crates/lang/codegen/src/generator/dispatch.rs @@ -418,6 +418,7 @@ impl Dispatch<'_> { quote_spanned!(span=> #[cfg(not(test))] #[no_mangle] + #[allow(clippy::nonminimal_bool)] fn deploy() { if !#any_constructor_accept_payment { ::ink_lang::codegen::deny_payment::<<#storage_ident as ::ink_lang::reflect::ContractEnv>::Env>()