From 3cdf5c378e8ff40ee3fc406d870665274b7ee9af Mon Sep 17 00:00:00 2001 From: SupperZum Date: Thu, 4 Apr 2024 12:08:26 +0300 Subject: [PATCH 1/3] some_fix --- module/core/wtools/src/lib.rs | 4 ++-- module/core/wtools/tests/wtools_tests.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/core/wtools/src/lib.rs b/module/core/wtools/src/lib.rs index d1243cc22c..6f8412f139 100644 --- a/module/core/wtools/src/lib.rs +++ b/module/core/wtools/src/lib.rs @@ -135,7 +135,7 @@ pub mod exposed #[ cfg( feature = "typing" ) ] pub use super::typing::exposed::*; #[ cfg( feature = "diagnostics" ) ] - pub use super::diag::exposed::*; + pub use super::diagnostics::diag::exposed::*; #[ cfg( any( feature = "dt", feature = "data_type" ) ) ] pub use super::dt::exposed::*; #[ cfg( feature = "time" ) ] @@ -176,7 +176,7 @@ pub mod prelude #[ cfg( feature = "diagnostics" ) ] #[ doc( inline ) ] #[ allow( unused_imports ) ] - pub use super::diag::prelude::*; + pub use super::diagnostics::diag::prelude::*; #[ cfg( any( feature = "dt", feature = "data_type" ) ) ] #[ doc( inline ) ] #[ allow( unused_imports ) ] diff --git a/module/core/wtools/tests/wtools_tests.rs b/module/core/wtools/tests/wtools_tests.rs index 0257700daf..a43dc170db 100644 --- a/module/core/wtools/tests/wtools_tests.rs +++ b/module/core/wtools/tests/wtools_tests.rs @@ -12,7 +12,7 @@ use test_tools::exposed::*; // } #[ cfg( feature = "iter_tools" ) ] -#[ path = "../../../core/iter_tools/tests/iter_tools_tests.rs" ] +#[ path = "../../../core/iter_tools/tests/tests.rs" ] mod iter_tools; #[ cfg( feature = "meta_tools" ) ] @@ -41,7 +41,7 @@ mod strs_tools; mod error_tools; #[ cfg( feature = "derive_tools" ) ] -#[ path = "../../../core/derive_tools/tests/derive_tests.rs" ] +#[ path = "../../../core/derive_tools/tests/tests.rs" ] mod derive_tools; #[ cfg( feature = "data_type" ) ] From 8e29adb26a90bbaa7e5fa9635d42aeb14807a5ec Mon Sep 17 00:00:00 2001 From: SupperZum Date: Thu, 4 Apr 2024 14:31:17 +0300 Subject: [PATCH 2/3] some fix --- module/core/impls_index/tests/inc/impls3_test.rs | 1 + module/core/impls_index/tests/inc/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/module/core/impls_index/tests/inc/impls3_test.rs b/module/core/impls_index/tests/inc/impls3_test.rs index 860acd126a..9a1b17a04d 100644 --- a/module/core/impls_index/tests/inc/impls3_test.rs +++ b/module/core/impls_index/tests/inc/impls3_test.rs @@ -1,5 +1,6 @@ use super::*; use the_module::prelude::impls3; +use self::impls_index; // diff --git a/module/core/impls_index/tests/inc/mod.rs b/module/core/impls_index/tests/inc/mod.rs index d7b9687e2f..15243b4c92 100644 --- a/module/core/impls_index/tests/inc/mod.rs +++ b/module/core/impls_index/tests/inc/mod.rs @@ -10,6 +10,8 @@ mod impls3_test; mod index_test; mod tests_index_test; +use crate::only_for_terminal_module; + only_for_terminal_module! { From c0db85c095a2455ed9f1888655651e79bb26be4a Mon Sep 17 00:00:00 2001 From: SupperZum Date: Thu, 4 Apr 2024 15:46:54 +0300 Subject: [PATCH 3/3] maybe fix? --- module/core/wtools/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/core/wtools/Cargo.toml b/module/core/wtools/Cargo.toml index c6b7ed81ca..25597d8ea4 100644 --- a/module/core/wtools/Cargo.toml +++ b/module/core/wtools/Cargo.toml @@ -185,7 +185,7 @@ error_full = [ ] # error_use_std = [ "error", "error_tools/use_std" ] error_no_std = [ "error", "error_tools/no_std" ] -error_use_alloc = [ "error", "error_tools/use_alloc" ] +#error_use_alloc = [ "error", "error_tools/use_alloc" ] error_for_lib = [ "error", "error_tools/error_for_lib" ] error_for_app = [ "error", "error_tools/error_for_app" ]