about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-02-27 15:25:18 +0100
committerPhilipp Krones <hello@philkrones.com>2024-02-27 15:50:17 +0100
commit7be6e2178e89dad8b619742c566fdee948414acc (patch)
treea2c6fa604316687bdab31abc489478ece768193c /src
parent5931794375f48f7fd0b922fff4a6a72388d731b7 (diff)
downloadrust-7be6e2178e89dad8b619742c566fdee948414acc.tar.gz
rust-7be6e2178e89dad8b619742c566fdee948414acc.zip
Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update
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