From f87d151447ba1c983877577090ea9058151f909d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 18 Jun 2026 04:03:58 +0800 Subject: feat(shakehand): add sub-module locale support Include `use super::*` in generated sub-modules to allow access to imported locale traits. Add locale files and tests for the sub-module in shakehand-test. --- shakehand/src/shakehand.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'shakehand/src') diff --git a/shakehand/src/shakehand.rs b/shakehand/src/shakehand.rs index 8f614cc..83678b4 100644 --- a/shakehand/src/shakehand.rs +++ b/shakehand/src/shakehand.rs @@ -726,6 +726,7 @@ pub fn generate_module( quote! { pub mod #mod_ident { + use super::*; #(#sub_structs)* } } -- cgit