Skip to content

Commit 78e0ffe

Browse files
committed
Pull in anyhow's new Error::provide support
1 parent 06f1895 commit 78e0ffe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rust-version = "1.56"
1515
thiserror-impl = { version = "=1.0.45", path = "impl" }
1616

1717
[dev-dependencies]
18-
anyhow = "1.0.71"
18+
anyhow = "1.0.73"
1919
ref-cast = "1.0.18"
2020
rustversion = "1.0.13"
2121
trybuild = { version = "1.0.81", features = ["diff"] }

tests/test_backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub mod structs {
136136
let error = AnyhowBacktrace {
137137
source: anyhow::Error::msg("..."),
138138
};
139-
assert!(error::request_ref::<Backtrace>(&error).is_some() || true); // FIXME
139+
assert!(error::request_ref::<Backtrace>(&error).is_some());
140140

141141
let error = BoxDynErrorBacktrace {
142142
source: Box::new(PlainBacktrace {

0 commit comments

Comments
 (0)