aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-26 21:37:18 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-26 21:37:18 +0800
commit8e65bf67aa26785fdabff3cf31e0633e07d593a6 (patch)
tree243a0d585afde4265c5da6e9ffc7554168f3bf2b /mingling_macros/src
parent884b6ed34358a5fd2863a289e10ca933d33f25bf (diff)
fix: gate `pack_err_structural` on both `structural_renderer` and
`extra_macros`
Diffstat (limited to 'mingling_macros/src')
-rw-r--r--mingling_macros/src/func.rs2
1 files changed, 1 insertions, 1 deletions
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;