diff --git a/starlark_derive/src/module/render/fun.rs b/starlark_derive/src/module/render/fun.rs index b8ea10a46..79960945d 100644 --- a/starlark_derive/src/module/render/fun.rs +++ b/starlark_derive/src/module/render/fun.rs @@ -266,6 +266,7 @@ pub(crate) fn render_fun(x: StarFun) -> syn::Result { let this_outer_param = this_outer_param.into_iter(); let struct_def: syn::ItemStruct = syn::parse_quote! { + #[allow(non_camel_case_types)] struct #struct_name { #( #struct_fields, )* }