From 1cc05455c38eb752cc9ad9f5ab7dbfa44e58baa3 Mon Sep 17 00:00:00 2001 From: Youzar-boot <125929019+Youssefhajjaoui@users.noreply.github.com> Date: Sat, 17 May 2025 01:58:36 +0100 Subject: [PATCH] Update lib.rs utc undeclared --> src/lib.rs:31:23 | 31 | date: Utc::now().format("%Y-%m-%d %H:%M:%S").to_string(), | ^^^ use of undeclared type `Utc` --- tests/error_types_test/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/error_types_test/src/lib.rs b/tests/error_types_test/src/lib.rs index b9329aea..94dfa1e4 100644 --- a/tests/error_types_test/src/lib.rs +++ b/tests/error_types_test/src/lib.rs @@ -1,5 +1,5 @@ use error_types::*; - +use chrono::Utc; #[test] fn test_error_type() { let cases = [