You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program generates a false positive, that is, a mutant that does the same thing as the original program and therefore cannot be caught by testing.
MISSED src/lib.rs:7:5: replace foo -> Foo with Default::default() in 0.5s build + 0.2s test
Default::default() is just another way of spelling Foo::default() (except in cases of name shadowing by an inherent impl or a different trait). I think it would be good if cargo-mutants didn't do this, since it is a common case in some kinds of code.
The text was updated successfully, but these errors were encountered:
This program generates a false positive, that is, a mutant that does the same thing as the original program and therefore cannot be caught by testing.
Default::default()
is just another way of spellingFoo::default()
(except in cases of name shadowing by an inherent impl or a different trait). I think it would be good if cargo-mutants didn't do this, since it is a common case in some kinds of code.The text was updated successfully, but these errors were encountered: