diff --git a/src/values.rs b/src/values.rs index a7d47eed7..f9419ede0 100644 --- a/src/values.rs +++ b/src/values.rs @@ -139,7 +139,7 @@ impl From for Value { /// /// When implementing this trait, include the `#[typetag::serde]` attribute to /// enable serialization. -#[typetag::serde] +#[typetag::serde(tag = "c")] pub trait CustomConst: Send + Sync + std::fmt::Debug + CustomConstBoxClone + Any + Downcast {