diff --git a/static-metric/src/builder.rs b/static-metric/src/builder.rs index c717e776..5046a0d0 100644 --- a/static-metric/src/builder.rs +++ b/static-metric/src/builder.rs @@ -199,7 +199,7 @@ impl<'a> MetricBuilderContext<'a> { quote! { #[allow(missing_copy_implementations)] - pub struct #struct_name { + pub(super) struct #struct_name { #( pub #field_names: #member_types, )*