]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/dogfood.rs
Rollup merge of #102514 - b-naber:binder-print-fixes, r=jackh726
[rust.git] / src / tools / clippy / tests / dogfood.rs
index 5697e8680cd6f86779a303edfd5b63d940e8da14..961525bbd9101dfbc6759f69ba3f05d7aa94e170 100644 (file)
@@ -87,11 +87,11 @@ fn run_clippy_for_package(project: &str, args: &[&str]) {
 
     if cfg!(feature = "internal") {
         // internal lints only exist if we build with the internal feature
-        command.args(&["-D", "clippy::internal"]);
+        command.args(["-D", "clippy::internal"]);
     } else {
         // running a clippy built without internal lints on the clippy source
         // that contains e.g. `allow(clippy::invalid_paths)`
-        command.args(&["-A", "unknown_lints"]);
+        command.args(["-A", "unknown_lints"]);
     }
 
     let output = command.output().unwrap();