aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/codegen/module.rs')
-rw-r--r--macros/src/codegen/module.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs
index d3afb27b..cac89c7d 100644
--- a/macros/src/codegen/module.rs
+++ b/macros/src/codegen/module.rs
@@ -131,6 +131,7 @@ pub fn codegen(
items.push(quote!(
/// Monotonics used by the system
#[allow(non_snake_case)]
+ #[allow(non_camel_case_types)]
pub struct #internal_monotonics_ident(
#(pub #monotonic_types),*
);
@@ -178,6 +179,8 @@ pub fn codegen(
items.push(quote!(
#(#cfgs)*
/// Execution context
+ #[allow(non_snake_case)]
+ #[allow(non_camel_case_types)]
pub struct #internal_context_name<#lt> {
#(#fields,)*
}
@@ -318,6 +321,8 @@ pub fn codegen(
items.push(quote!(
#(#cfgs)*
+ #[allow(non_snake_case)]
+ #[allow(non_camel_case_types)]
pub struct #internal_spawn_handle_ident {
#[doc(hidden)]
marker: u32,