Visibility fix for Rust 1.61

This commit is contained in:
Mingun
2025-09-21 20:58:53 +05:00
parent 8c3445efe4
commit 027112eccb
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ use quote::{quote, quote_spanned};
use syn::spanned::Spanned;
/// Generates `Deserialize::deserialize` body for an `enum Enum {...}` with `#[serde(tag, content)]` attributes
pub fn generate_body(
pub(super) fn generate_body(
params: &Parameters,
variants: &[Variant],
cattrs: &attr::Container,