Skip to content

Commit 46c88ee

Browse files
Pass --cfg clippy to clippy-driver
1 parent f1ad790 commit 46c88ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ pub fn main() {
271271
},
272272
_ => Some(s.to_string()),
273273
})
274-
.chain(vec!["--cfg".into(), r#"feature="cargo-clippy""#.into()])
274+
.chain(vec!["--cfg".into(), "clippy".into()])
275275
.collect::<Vec<String>>();
276276

277277
// We enable Clippy if one of the following conditions is met

0 commit comments

Comments
 (0)