-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 #13836 - epage:default_features, r=Muscraft
fix(toml): Don't lose 'public' when inheriting a dep ### What does this PR try to resolve? When inheriting a simple dep, we preserved the package dep's `public` field but lost it when inheriting a detailed dep. This was done by consolidating the code paths. This also reduces the risk of us doing this again in the future. ### How should we test and review this PR? I didn't write tests for this specific case because I refactored the root cause away. ### Additional information
- Loading branch information
Showing
1 changed file
with
53 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters