We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20fd1b9 commit 9f42839Copy full SHA for 9f42839
move-mutator/src/mutate.rs
@@ -164,8 +164,10 @@ fn traverse_function(
164
let fn_loc = function.module_env.env.get_node_loc(exp_data.node_id());
165
let fn_name = function.get_full_name_str();
166
trace!("checking coverage {fn_loc:?} for {fn_name}");
167
- if !conf.coverage.check_location(fn_name, &fn_loc) {
168
- return true;
+ if conf.project.apply_coverage {
+ if !conf.coverage.check_location(fn_name, &fn_loc) {
169
+ return true;
170
+ }
171
}
172
173
result.extend(parse_expression_and_find_mutants(function, exp_data));
0 commit comments