-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better error message for bad manifest with cargo install
.
#6560
Conversation
The old code assumed that any error loading a manifest meant that the manifest didn't exist, but there are many other reasons it may fail. Add a few helpful messages for some common cases.
r? @Eh2406 (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ |
📌 Commit 3378a5a has been approved by |
⌛ Testing commit 3378a5a with merge fabe552d4c546ac19d674bdd2fad1c4302547fde... |
Thanks, @ehuss. I think I implemented that, not sure why like that, though. |
💥 Test timed out |
@bors retry |
Better error message for bad manifest with `cargo install`. The old code assumed that any error loading a manifest meant that the manifest didn't exist, but there are many other reasons it may fail. Add a few helpful messages for some common cases. First noticed at #5654 (comment)
☀️ Test successful - checks-travis, status-appveyor |
Update cargo Unblocks #56884 cc @euclio 6 commits in 2b4a5f1f0bb6e13759e88ea9512527b0beba154f..ffe65875fd05018599ad07e7389e99050c7915be 2019-01-12 04:13:12 +0000 to 2019-01-17 23:57:50 +0000 - Better error message for bad manifest with `cargo install`. (rust-lang/cargo#6560) - relax rustdoc output assertion (rust-lang/cargo#6559) - touch some files when we use them (rust-lang/cargo#6477) - Add documentation for new package/publish feature flags. (rust-lang/cargo#6553) - Update chat link to Discord. (rust-lang/cargo#6554) - Fix typo (rust-lang/cargo#6552) r? @alexcrichton
The old code assumed that any error loading a manifest meant that the
manifest didn't exist, but there are many other reasons it may fail.
Add a few helpful messages for some common cases.
First noticed at #5654 (comment)