From 5f7e831d27c111eb01cb1864a419054cc3d435d7 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 13 Feb 2019 15:37:24 +0100 Subject: [PATCH] fix non_camel_case_types warnings --- macros/src/codegen.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index c7adbd67ea..af3def6476 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -1924,6 +1924,7 @@ fn mk_resource( let path = if let Some(module) = module { let doc = format!("`{}`", ty); module.push(quote!( + #[allow(non_camel_case_types)] #[doc = #doc] #(#cfgs)* pub struct #struct_<'a> {