about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/driver.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver.rs b/src/driver.rs
index f5e52f787ab..4a44f293b2f 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -271,7 +271,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