From: Alex Crichton Date: Sun, 10 Sep 2017 16:38:29 +0000 (-0700) Subject: Update error-chain to 0.11.0 X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~8^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ad6db07b068904c4fb1d053004b6534866f06bc7;p=cargo.git Update error-chain to 0.11.0 --- diff --git a/Cargo.lock b/Cargo.lock index 5ab14b38a..cb20975f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,7 +11,7 @@ dependencies = [ "curl 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "docopt 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", - "error-chain 0.11.0-rc.2 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)", "fs2 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -152,7 +152,7 @@ name = "crates-io" version = "0.10.0" dependencies = [ "curl 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", - "error-chain 0.11.0-rc.2 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -228,7 +228,7 @@ dependencies = [ [[package]] name = "error-chain" -version = "0.11.0-rc.2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -893,7 +893,7 @@ dependencies = [ "checksum docopt 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3b5b93718f8b3e5544fcc914c43de828ca6c6ace23e0332c6080a2977b49787a" "checksum dtoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "80c8b71fd71146990a9742fc06dcbbde19161a267e0ad4e572c35162f4578c90" "checksum env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3ddf21e73e016298f5cb37d6ef8e8da8e39f91f9ec8b0df44b7deb16a9f8cd5b" -"checksum error-chain 0.11.0-rc.2 (registry+https://github.com/rust-lang/crates.io-index)" = "38d3a55d9a7a456748f2a3912c0941a5d9a68006eb15b3c3c9836b8420dc102d" +"checksum error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff511d5dc435d703f4971bc399647c9bc38e20cb41452e3b9feb4765419ed3f3" "checksum filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "5363ab8e4139b8568a6237db5248646e5a8a2f89bd5ccb02092182b11fd3e922" "checksum flate2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)" = "36df0166e856739905cd3d7e0b210fe818592211a008862599845e012d8d304c" "checksum foreign-types 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e4056b9bd47f8ac5ba12be771f77a0dae796d1bbaaf5fd0b9c2d38b69b8a29d" diff --git a/Cargo.toml b/Cargo.toml index 9c85ef5b9..84e666510 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ crossbeam = "0.2" curl = "0.4.6" docopt = "0.8" env_logger = "0.4" -error-chain = "0.11.0-rc.2" +error-chain = "0.11.0" filetime = "0.1" flate2 = "0.2" fs2 = "0.4" diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index 557901afe..266e69fdd 100644 --- a/src/cargo/util/errors.rs +++ b/src/cargo/util/errors.rs @@ -83,7 +83,8 @@ impl CargoError { &CargoErrorKind::Parse(_) | &CargoErrorKind::Git(_) | &CargoErrorKind::Internal(_) | - &CargoErrorKind::CargoTestErrorKind(_) => false + &CargoErrorKind::CargoTestErrorKind(_) | + &CargoErrorKind::__Nonexhaustive { .. } => false } } }