projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4733e07
)
Flag crate registry errors as "human"
author
Alex Crichton
<alex@alexcrichton.com>
Wed, 21 Jun 2017 15:11:08 +0000
(08:11 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Wed, 21 Jun 2017 15:11:42 +0000
(08:11 -0700)
They often contain useful information!
Closes #4200
src/cargo/util/errors.rs
patch
|
blob
|
history
diff --git
a/src/cargo/util/errors.rs
b/src/cargo/util/errors.rs
index 7b51c527d7ec00da74c0d7d753289cc0cf132246..dd748a459b7df07e1ca9b0e1cdbdcead5380029d 100644
(file)
--- a/
src/cargo/util/errors.rs
+++ b/
src/cargo/util/errors.rs
@@
-71,7
+71,7
@@
impl CargoError {
&CargoErrorKind::Curl(_) => true,
&CargoErrorKind::HttpNot200(..) => true,
&CargoErrorKind::ProcessErrorKind(_) => true,
- &CargoErrorKind::CrateRegistry(_)
|
+ &CargoErrorKind::CrateRegistry(_)
=> true,
&CargoErrorKind::ParseSemver(_) |
&CargoErrorKind::Semver(_) |
&CargoErrorKind::Io(_) |