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.
1 parent a255d96 commit 592b01cCopy full SHA for 592b01c
src/cargo/core/features.rs
@@ -841,13 +841,13 @@ impl CliUnstable {
841
// some point, and migrate to a new -Z flag for any future
842
// things.
843
let feats = parse_features(v);
844
- let stab_is_empty = feats.iter().any(|feat| {
+ let stab_is_not_empty = feats.iter().any(|feat| {
845
matches!(
846
feat.as_str(),
847
"build_dep" | "host_dep" | "dev_dep" | "itarget" | "all"
848
)
849
});
850
- if !stab_is_empty || feats.is_empty() {
+ if stab_is_not_empty || feats.is_empty() {
851
// Make this stabilized_err once -Zfeature support is removed.
852
stabilized_warn(k, "1.51", STABILIZED_FEATURES);
853
}
0 commit comments