We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ca76ed + 1a90b77 commit 9be0f41Copy full SHA for 9be0f41
Cargo.toml
@@ -16,7 +16,7 @@ rust-version = "1.31"
16
thiserror-impl = { version = "=1.0.34", path = "impl" }
17
18
[dev-dependencies]
19
-anyhow = "1.0.64"
+anyhow = "1.0.65"
20
ref-cast = "1.0"
21
rustversion = "1.0"
22
trybuild = { version = "1.0.49", features = ["diff"] }
tests/test_backtrace.rs
@@ -140,8 +140,7 @@ pub mod structs {
140
let error = AnyhowBacktrace {
141
source: anyhow::Error::msg("..."),
142
};
143
- // FIXME: change back to is_some after `impl Provider for anyhow::Error` exists.
144
- assert!(any::request_ref::<Backtrace>(&error).is_none());
+ assert!(any::request_ref::<Backtrace>(&error).is_some());
145
146
let error = BoxDynErrorBacktrace {
147
source: Box::new(PlainBacktrace {
0 commit comments