Skip to content

Commit af6d49d

Browse files
committed
Fix running compile-test under cargo nextest
1 parent bd1224d commit af6d49d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/compile-test.rs

-9
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,6 @@ fn run_ui_cargo() {
268268
}
269269

270270
fn main() {
271-
// Support being run by cargo nextest - https://nexte.st/book/custom-test-harnesses.html
272-
if env::args().any(|arg| arg == "--list") {
273-
if !env::args().any(|arg| arg == "--ignored") {
274-
println!("compile_test: test");
275-
}
276-
277-
return;
278-
}
279-
280271
set_var("CLIPPY_DISABLE_DOCS_LINKS", "true");
281272
// The SPEEDTEST_* env variables can be used to check Clippy's performance on your PR. It runs the
282273
// affected test 1000 times and gets the average.

0 commit comments

Comments
 (0)