Upgrade failure and fix deprecation warnings (#605)

This commit is contained in:
Alex Crichton
2018-08-01 16:15:09 -05:00
committed by GitHub
parent eee71de0ce
commit 6def60681b
9 changed files with 10 additions and 10 deletions

View File

@ -66,7 +66,7 @@ fn main() {
Err(e) => e,
};
eprintln!("error: {}", err);
for cause in err.causes().skip(1) {
for cause in err.iter_causes() {
eprintln!("\tcaused by: {}", cause);
}
process::exit(1);