Skip to content

Commit

Permalink
Merge pull request #247 from dtolnay/errorprovide
Browse files Browse the repository at this point in the history
Pull in anyhow's new Error::provide support
  • Loading branch information
dtolnay authored Aug 15, 2023
2 parents 06f1895 + 78e0ffe commit 2fd79cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 2fd79cd

Please sign in to comment.