From 7be6e2178e89dad8b619742c566fdee948414acc Mon Sep 17 00:00:00 2001 From: Philipp Krones Date: Tue, 27 Feb 2024 15:25:18 +0100 Subject: Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update --- src/driver.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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::>(); // We enable Clippy if one of the following conditions is met -- cgit 1.4.1-3-g733a5