Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve feature-related diagnostics #84

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Improve feature-related diagnostics #84

merged 1 commit into from
Nov 2, 2020

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Nov 2, 2020

Closes #83

@taiki-e taiki-e added C-enhancement Category: A new feature or an improvement for an existing one A-features Area: features (--feature-powerset, --each-feature, etc.) labels Nov 2, 2020
@taiki-e
Copy link
Owner Author

taiki-e commented Nov 2, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 2, 2020

Build succeeded:

@bors bors bot merged commit 45ecf36 into master Nov 2, 2020
@bors bors bot deleted the feature branch November 2, 2020 02:13
@@ -198,7 +199,7 @@ pub(crate) struct Package {
/// List of dependencies of this particular package
pub(crate) dependencies: Vec<Dependency>,
/// Features provided by the crate, mapped to the features required by that feature.
pub(crate) features: BTreeSet<String>,
pub(crate) features: BTreeMap<String, Vec<String>>,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This change does not directly relate to the aim of this PR, but is needed to prepare #81.)

@taiki-e taiki-e removed the C-enhancement Category: A new feature or an improvement for an existing one label Jan 6, 2021
@taiki-e taiki-e added the A-diagnostics Area: Messages for errors and warnings label Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors and warnings A-features Area: features (--feature-powerset, --each-feature, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn when an excluded feature is included in a feature group
1 participant