Remove feature=cargo-clippy argument

As announced <https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy.html>
This commit is contained in:
xFrednet 2024-08-09 20:38:41 +02:00
parent 345c94c98f
commit 2645ea3a68
No known key found for this signature in database
GPG key ID: E126C23F63C8907A

View file

@ -270,8 +270,6 @@ pub fn main() {
}, },
_ => Some(s.to_string()), _ => 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()]) .chain(vec!["--cfg".into(), "clippy".into()])
.collect::<Vec<String>>(); .collect::<Vec<String>>();