]> git.proxmox.com Git - cargo.git/commit - src/cargo/sources/replaced.rs
Try to improve "version not found" error
authorAlex Crichton <alex@alexcrichton.com>
Sat, 29 Sep 2018 21:37:03 +0000 (14:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 2 Oct 2018 20:18:35 +0000 (13:18 -0700)
commit20cfb41e42938a84a69c67cb83483c1f18ccb80b
treeef3beddae4c28c2974adb9d7a390ad1b33a92a70
parentad6e5c0037d88602a1c95051e42b392ed5ffcbe8
Try to improve "version not found" error

This commit tweaks the wording for when versions aren't found in a
source, notably including more location information other than the
source id but rather also taking into account replaced sources and such.
It's hoped that this gives more information to make it a bit more clear
what's going on.

Closes #6111
12 files changed:
src/cargo/core/registry.rs
src/cargo/core/resolver/mod.rs
src/cargo/core/source/mod.rs
src/cargo/sources/directory.rs
src/cargo/sources/git/source.rs
src/cargo/sources/path.rs
src/cargo/sources/registry/mod.rs
src/cargo/sources/replaced.rs
tests/testsuite/directory.rs
tests/testsuite/registry.rs
tests/testsuite/resolve.rs
tests/testsuite/support/resolver.rs