cargo::core::resolver

Function generalize_conflicting

source
fn generalize_conflicting(
    cx: &ResolverContext,
    registry: &mut RegistryQueryer<'_>,
    past_conflicting_activations: &mut ConflictCache,
    parent: &Summary,
    dep: &Dependency,
    conflicting_activations: &BTreeMap<PackageId, ConflictReason>,
) -> Option<BTreeMap<PackageId, ConflictReason>>
Expand description

Attempts to find a new conflict that allows a find_candidate better then the input one. It will add the new conflict to the cache if one is found.