From 63b61e94973bb48022ea23c6d083727578e18727 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 1 Jul 2025 13:06:15 -0400 Subject: [PATCH] Remove delete match arm and match guard mutation exclusion As of the most recent cargo mutants version v25.2.0 delete match arm and replace match guard mutations can now be identified on function name patterns and as a result can be effectively excluded using the existing mutation exclusion patterns. --- .cargo/mutants.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml index 70a1b8fd3..d63ac7747 100644 --- a/.cargo/mutants.toml +++ b/.cargo/mutants.toml @@ -10,7 +10,6 @@ exclude_re = [ ".*Error", "deserialize", # Skip serde mutation tests "Iterator", # Mutating operations in an iterator can result in an infinite loop - "match arm", "match guard", # New addition in cargo-mutants 25.0.1 deletes match arms and replaces match guards even in excluded functions # ----------------------------------Crate-specific exclusions---------------------------------- # Units