Update faerie, remove usage of failure (#591)

This commit removes the usage of the `failure` crate and finishes up the
final pieces of the migration to `std::error::Error` and `anyhow`. The
`faerie` crate was updated to pull in its migration from `failure` to
`anyhow` as well.
This commit is contained in:
Alex Crichton
2019-11-18 16:26:37 -06:00
committed by Dan Gohman
parent 9182971697
commit f2718a9573
15 changed files with 19 additions and 20 deletions

View File

@@ -44,8 +44,8 @@ pub enum SetupError {
Instantiate(#[from] InstantiationError),
/// Debug information generation error occured.
#[error("Debug information error: {0}")]
DebugInfo(failure::Error),
#[error("Debug information error")]
DebugInfo(#[from] anyhow::Error),
}
/// This is similar to `CompiledModule`, but references the data initializers