From: bors Date: Thu, 15 Mar 2018 15:22:32 +0000 (+0000) Subject: Auto merge of #5180 - alexcrichton:transitive-update, r=matklad X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b3df526dc5ca826b8d9f6ac3b102dfbda96e94c5;p=cargo.git Auto merge of #5180 - alexcrichton:transitive-update, r=matklad Don't abort resolution on transitive updates This commit is directed at fixing #4127, allowing the resolver to automatically perform transitive updates when required. A few use casese and tagged links are hanging off #4127 itself, but the crux of the issue happens when you either add a dependency or update a version requirement in `Cargo.toml` which conflicts with something listed in your `Cargo.lock`. In this case Cargo would previously provide an obscure "cannot resolve" error whereas this commit updates Cargo to automatically perform a conservative re-resolution of the dependency graph. It's hoped that this commit will help reduce the number of "unresolvable" dependency graphs we've seen in the wild and otherwise make Cargo a little more ergonomic to use as well. More details can be found in the source's comments! Closes #4127 --- b3df526dc5ca826b8d9f6ac3b102dfbda96e94c5