diff --git a/third_party/libtock-drivers/src/result.rs b/third_party/libtock-drivers/src/result.rs index 5021c3a..160f1cb 100644 --- a/third_party/libtock-drivers/src/result.rs +++ b/third_party/libtock-drivers/src/result.rs @@ -15,6 +15,7 @@ pub type TockResult = Result; // This trait allows to flexibly use `Result::unwrap` or `Option::unwrap` and is configured to do // so depending on the `debug_ctap` feature. pub trait FlexUnwrap { + #[track_caller] fn flex_unwrap(self) -> T; }