Skip to content

Commit 9495c5a

Browse files
committed
Update to error-chain 0.2.2
1 parent fd3e9f1 commit 9495c5a

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/download/src/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
error_chain! {
2-
types {
3-
Error, ErrorKind, ChainErr, Result;
4-
}
5-
62
links { }
73

84
foreign_links { }

src/rustup-cli/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ use rustup_dist::{self, temp};
77
use rustup_utils;
88

99
error_chain! {
10-
types {
11-
Error, ErrorKind, ChainErr, Result;
12-
}
13-
1410
links {
1511
rustup::Error, rustup::ErrorKind, Rustup;
1612
rustup_dist::Error, rustup_dist::ErrorKind, Dist;

src/rustup-dist/src/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ use rustup_utils;
66
use manifest::Component;
77

88
error_chain! {
9-
types {
10-
Error, ErrorKind, ChainErr, Result;
11-
}
12-
139
links {
1410
rustup_utils::Error, rustup_utils::ErrorKind, Utils;
1511
}

src/rustup-utils/src/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ use url::Url;
44
use download;
55

66
error_chain! {
7-
types {
8-
Error, ErrorKind, ChainErr, Result;
9-
}
10-
117
links {
128
download::Error, download::ErrorKind, Download;
139
}

src/rustup/errors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ use rustup_dist::manifest::Component;
44
use toml;
55

66
error_chain! {
7-
types {
8-
Error, ErrorKind, ChainErr, Result;
9-
}
10-
117
links {
128
rustup_dist::Error, rustup_dist::ErrorKind, Dist;
139
rustup_utils::Error, rustup_utils::ErrorKind, Utils;

0 commit comments

Comments
 (0)