diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 8b3bf08028..e4f5cc2379 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "cortex-m-rtic-macros" readme = "../README.md" repository = "https://github.com/rtic-rs/cortex-m-rtic" -version = "1.1.1" +version = "1.1.2" [lib] proc-macro = true diff --git a/macros/src/codegen/shared_resources.rs b/macros/src/codegen/shared_resources.rs index f944e3e5ec..47f8faf08c 100644 --- a/macros/src/codegen/shared_resources.rs +++ b/macros/src/codegen/shared_resources.rs @@ -162,14 +162,14 @@ pub fn codegen( let masks_name = util::priority_masks_ident(); mod_app.push(quote!( #[doc(hidden)] - #[allow(non_camel_case_types)] + #[allow(non_upper_case_globals)] const #masks_name: [u32; 3] = [#(#mask_arr),*]; )); if uses_exceptions_with_resources { mod_app.push(quote!( #[doc(hidden)] - #[allow(non_camel_case_types)] + #[allow(non_upper_case_globals)] const __rtic_internal_V6_ERROR: () = rtic::export::v6_panic(); )); }