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::>(); // We enable Clippy if one of the following conditions is met