diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 754bd6c9c8ce..71e83e741e12 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -767,7 +767,7 @@ impl Step for Clippy { cargo.add_rustc_lib_path(builder, compiler); - if add_flags_and_try_run_tests(builder, &mut cargo.into()) { + if builder.try_run(&mut cargo.into()) { // The tests succeeded; nothing to do. return; }