diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml index f4c71f563..adb7e9f44 100644 --- a/.cargo/mutants.toml +++ b/.cargo/mutants.toml @@ -4,12 +4,15 @@ exclude_globs = [ "units/src/amount/verification.rs" # kani tests ] exclude_re = [ - "impl Debug", "impl Arbitrary", + "impl Debug", + "impl fmt::Debug", "impl Display", + "impl fmt::Display", ".*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