Skip to content

Commit

Permalink
Pull in anyhow's new Error::provide support
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 15, 2023
1 parent 06f1895 commit 78e0ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.56"
thiserror-impl = { version = "=1.0.45", path = "impl" }

[dev-dependencies]
anyhow = "1.0.71"
anyhow = "1.0.73"
ref-cast = "1.0.18"
rustversion = "1.0.13"
trybuild = { version = "1.0.81", features = ["diff"] }
Expand Down
2 changes: 1 addition & 1 deletion tests/test_backtrace.rs
Expand Up @@ -136,7 +136,7 @@ pub mod structs {
let error = AnyhowBacktrace {
source: anyhow::Error::msg("..."),
};
assert!(error::request_ref::<Backtrace>(&error).is_some() || true); // FIXME
assert!(error::request_ref::<Backtrace>(&error).is_some());

let error = BoxDynErrorBacktrace {
source: Box::new(PlainBacktrace {
Expand Down

0 comments on commit 78e0ffe

Please sign in to comment.