We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eb4f71 commit c0e8d15Copy full SHA for c0e8d15
1 file changed
crates/libtest2-harness/src/harness.rs
@@ -245,8 +245,7 @@ fn run(
245
};
246
let mode = match (opts.run_tests, opts.bench_benchmarks) {
247
(true, true) => {
248
- return Err(std::io::Error::new(
249
- std::io::ErrorKind::Other,
+ return Err(std::io::Error::other(
250
"`--test` and `-bench` are mutually exclusive",
251
));
252
}
0 commit comments