about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-02-22 15:59:29 +0100
committerPhilipp Krones <hello@philkrones.com>2024-02-22 15:59:29 +0100
commitdc0bb69e66e72918a72bac38b57bf7716b3e010d (patch)
tree05f1aa0df76e5e9ed29455f4aa8b1b23436c8309 /src
parent31b551fee925cf9ca2d3c37fa09a712ef8e66228 (diff)
parentd554bcad7914a7fbe01a40371a7917ac0b763494 (diff)
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 85867d1511d..b966fcf9b80 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -272,7 +272,9 @@ pub fn main() {
                 },
                 _ => Some(s.to_string()),
             })
+            // FIXME: remove this line in 1.79 to only keep `--cfg clippy`.
             .chain(vec!["--cfg".into(), r#"feature="cargo-clippy""#.into()])
+            .chain(vec!["--cfg".into(), "clippy".into()])
             .collect::<Vec<String>>();
 
         // We enable Clippy if one of the following conditions is met