Skip to content

Better error message for bad manifest with cargo install. #6560

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 18, 2019

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jan 17, 2019

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)

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.
@rust-highfive
Copy link

r? @Eh2406

(rust_highfive has picked a reviewer for you, use r? to override)

@Eh2406
Copy link
Contributor

Eh2406 commented Jan 17, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented Jan 17, 2019

📌 Commit 3378a5a has been approved by Eh2406

@bors
Copy link
Contributor

bors commented Jan 17, 2019

⌛ Testing commit 3378a5a with merge fabe552d4c546ac19d674bdd2fad1c4302547fde...

@dwijnand
Copy link
Member

Thanks, @ehuss. I think I implemented that, not sure why like that, though.

@bors
Copy link
Contributor

bors commented Jan 17, 2019

💥 Test timed out

@dwijnand
Copy link
Member

@bors retry

@bors
Copy link
Contributor

bors commented Jan 17, 2019

⌛ Testing commit 3378a5a with merge ffe6587...

bors added a commit that referenced this pull request Jan 17, 2019
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)
@bors
Copy link
Contributor

bors commented Jan 18, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: Eh2406
Pushing ffe6587 to master...

@bors bors merged commit 3378a5a into rust-lang:master Jan 18, 2019
bors added a commit to rust-lang/rust that referenced this pull request Jan 19, 2019
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
@ehuss ehuss added this to the 1.34.0 milestone Feb 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants