fn check_for_duplicate_versions<'a, I>(
    package_ids: I,
) -> Result<(), ResolveError>
where I: Iterator<Item = &'a PackageId>,
Expand description

As a workaround for the lack of “proper” dependency merging, we’ll make sure only one copy of each package is in the dependency tree. If the same package is included in the tree multiple times, they all need to use the exact same version otherwise it’s an error.