From 8e65bf67aa26785fdabff3cf31e0633e07d593a6 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 26 Jul 2026 21:37:18 +0800 Subject: fix: gate `pack_err_structural` on both `structural_renderer` and `extra_macros` --- mingling_macros/src/func.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingling_macros/src/func.rs b/mingling_macros/src/func.rs index 833e8ee..d836b38 100644 --- a/mingling_macros/src/func.rs +++ b/mingling_macros/src/func.rs @@ -12,7 +12,7 @@ pub(crate) mod node; pub(crate) mod pack; #[cfg(feature = "extra_macros")] pub(crate) mod pack_err; -#[cfg(feature = "structural_renderer")] +#[cfg(all(feature = "structural_renderer", feature = "extra_macros"))] pub(crate) mod pack_err_structural; #[cfg(feature = "structural_renderer")] pub(crate) mod pack_structural; -- cgit