diff options
author | 2021-08-19 11:09:47 +0000 | |
---|---|---|
committer | 2021-08-19 11:09:47 +0000 | |
commit | 3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda (patch) | |
tree | 3a4536c17947bbcfb937a728624dd152f913a0b7 /macros/src/codegen/local_resources_struct.rs | |
parent | 2f180c0e3f81b60494475184397463291fcd06ea (diff) | |
parent | 018e4a121f4c338ec66e58dcf210b78d7ab35668 (diff) | |
download | rtic-3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda.tar.gz rtic-3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda.tar.zst rtic-3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda.zip |
Merge #514
514: Silence rust-analyzer warnings on internal types r=korken89 a=AfoHT
Continues the work started in #513
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
Diffstat (limited to 'macros/src/codegen/local_resources_struct.rs')
-rw-r--r-- | macros/src/codegen/local_resources_struct.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/src/codegen/local_resources_struct.rs b/macros/src/codegen/local_resources_struct.rs index 4bd9e2a4..d59918d7 100644 --- a/macros/src/codegen/local_resources_struct.rs +++ b/macros/src/codegen/local_resources_struct.rs @@ -89,6 +89,7 @@ pub fn codegen(ctxt: Context, needs_lt: &mut bool, app: &App) -> (TokenStream2, let ident = util::mark_internal_ident(&ident); let item = quote!( #[allow(non_snake_case)] + #[allow(non_camel_case_types)] #[doc = #doc] pub struct #ident<#lt> { #(#fields,)* |