We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--cfg clippy
1 parent f35eec8 commit e0f82afCopy full SHA for e0f82af
src/driver.rs
@@ -271,7 +271,9 @@ pub fn main() {
271
},
272
_ => Some(s.to_string()),
273
})
274
+ // FIXME: remove this line in 1.79 to only keep `--cfg clippy`.
275
.chain(vec!["--cfg".into(), r#"feature="cargo-clippy""#.into()])
276
+ .chain(vec!["--cfg".into(), "clippy".into()])
277
.collect::<Vec<String>>();
278
279
// We enable Clippy if one of the following conditions is met
0 commit comments