Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #14018 - epage:dep_name, r=ehuss
fix(fix): Address problems with implicit -> explicit feature migration ### What does this PR try to resolve? Within the scope of `cargo fix` there are two problems - We wipe out existing feature activations if it has the same name as an optional dependency - The `Cargo.toml` isn't parseable because the unused optional dependency won't "exist" if just `dep_name/feature_name` is used Fixes #14010 ### How should we test and review this PR? As for the unused optional dependency not "existing" error, - #14015 is for improving the message for weak dep features - #14016 is for re-evaluating how we handle this for strong dep features Depending on what solution we go with for #14016, we might want to revisit the second migration within this PR. This is one reason I made the commit separate (in addition to just making it clearer whats happening as this gets into some finer details of features). ### Additional information
- Loading branch information