//! serde_encrypt::error::Error implements std::error::Error in `std` feature. #![cfg(feature = "std")] mod test_util; // https://rust-lang.github.io/api-guidelines/interoperability.html#error-types-are-meaningful-and-well-behaved-c-good-err #[test] fn test_api_guidelines_c_good_err() { use std::fmt::Display; fn assert_error() {} assert_error::(); fn assert_display() {} assert_display::(); }