Skip to content

Commit

Permalink
Temporarily disable AnyhowBacktrace test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 13, 2022
1 parent aaf8449 commit 01e7c18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ pub mod structs {
let error = AnyhowBacktrace {
source: anyhow::Error::msg("..."),
};
assert!(any::request_ref::<Backtrace>(&error).is_some());
// FIXME: change back to is_some after `impl Provider for anyhow::Error` exists.
assert!(any::request_ref::<Backtrace>(&error).is_none());

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

0 comments on commit 01e7c18

Please sign in to comment.