Repository: ergoplatform/sigma-rust (language: rust)

Issue:
deny clippy::enum_glob_use and clippy::wildcard_enum_match_arm 



Discussion / hints:

Fix patch:
diff --git a/bindings/ergo-lib-wasm/src/lib.rs b/bindings/ergo-lib-wasm/src/lib.rs
index 01660a0e0..82354bade 100644
--- a/bindings/ergo-lib-wasm/src/lib.rs
+++ b/bindings/ergo-lib-wasm/src/lib.rs
@@ -13,6 +13,7 @@
 // Clippy warnings
 #![allow(clippy::new_without_default)]
 #![allow(clippy::len_without_is_empty)]
+#![deny(clippy::wildcard_enum_match_arm)]
 
 pub mod address;
 pub mod ast;
diff --git a/ergo-lib/src/lib.rs b/ergo-lib/src/lib.rs
index f776eb7bd..c00fff865 100644
--- a/ergo-lib/src/lib.rs
+++ b/ergo-lib/src/lib.rs
@@ -12,6 +12,7 @@
 // Clippy exclusions
 #![allow(clippy::unit_arg)]
 #![deny(rustdoc::broken_intra_doc_links)]
+#![deny(clippy::wildcard_enum_match_arm)]
 
 pub mod chain;
 pub mod constants;
diff --git a/ergotree-interpreter/src/lib.rs b/ergotree-interpreter/src/lib.rs
index b09b6aa18..3fb7910ae 100644
--- a/ergotree-interpreter/src/lib.rs
+++ b/ergotree-interpreter/src/lib.rs
@@ -17,6 +17,7 @@
 #![deny(clippy::todo)]
 #![deny(clippy::unimplemented)]
 #![deny(clippy::panic)]
+
 mod contracts;
 mod util;
 
diff --git a/sigma-ser/src/lib.rs b/sigma-ser/src/lib.rs
index 81609a931..690a0780e 100644
--- a/sigma-ser/src/lib.rs
+++ b/sigma-ser/src/lib.rs
@@ -15,6 +15,7 @@
 #![deny(clippy::todo)]
 #![deny(clippy::unimplemented)]
 #![deny(clippy::panic)]
+#![deny(clippy::wildcard_enum_match_arm)]
 
 /// VLQ encoder
 pub mod vlq_encode;


Test patch: