Skip to content

Commit 996bca2

Browse files
ehussweihanglo
andauthored
Update comment to add more context.
Co-authored-by: Weihang Lo <[email protected]>
1 parent a0f832f commit 996bca2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/core/resolver/features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ impl<'a, 'cfg> FeatureResolver<'a, 'cfg> {
720720
//
721721
// Don't enable if the implicit optional dependency
722722
// feature wasn't created due to `dep:` hiding.
723+
// See rust-lang/cargo#10788 and rust-lang/cargo#12130
723724
let summary = self.resolve.summary(pkg_id);
724725
let feature_map = summary.features();
725726
if feature_map.contains_key(&dep_name) {

0 commit comments

Comments
 (0)