aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/any.rs')
-rw-r--r--mingling_core/src/any.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/mingling_core/src/any.rs b/mingling_core/src/any.rs
index ef9f912..ad02b0c 100644
--- a/mingling_core/src/any.rs
+++ b/mingling_core/src/any.rs
@@ -161,7 +161,7 @@ mod tests {
}
#[derive(Debug, Clone, PartialEq)]
- #[cfg_attr(feature = "general_renderer", derive(serde::Serialize))]
+ #[cfg_attr(feature = "structural_renderer", derive(serde::Serialize))]
struct AlphaData {
value: i32,
}
@@ -173,7 +173,7 @@ mod tests {
}
#[derive(Debug, Clone, PartialEq)]
- #[cfg_attr(feature = "general_renderer", derive(serde::Serialize))]
+ #[cfg_attr(feature = "structural_renderer", derive(serde::Serialize))]
struct BetaData {
name: String,
}
@@ -186,7 +186,7 @@ mod tests {
#[derive(Debug, Clone, PartialEq)]
#[allow(dead_code)]
- #[cfg_attr(feature = "general_renderer", derive(serde::Serialize))]
+ #[cfg_attr(feature = "structural_renderer", derive(serde::Serialize))]
struct GammaData;
impl Groupped<MockGroup> for GammaData {
@@ -333,9 +333,9 @@ mod tests {
assert_eq!(format!("{}", NextProcess::Renderer), "Renderer");
}
- // AnyOutput::restore general_renderer feature only
+ // AnyOutput::restore structural_renderer feature only
- #[cfg(feature = "general_renderer")]
+ #[cfg(feature = "structural_renderer")]
#[test]
fn test_any_output_restore_success() {
use serde::Serialize;
@@ -357,7 +357,7 @@ mod tests {
assert_eq!(restored, Some(SerData { x: 42 }));
}
- #[cfg(feature = "general_renderer")]
+ #[cfg(feature = "structural_renderer")]
#[test]
fn test_any_output_restore_type_mismatch() {
use serde::Serialize;