mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-20 23:05:21 +01:00
Fixed some lints from Rust Analyzer with experimental proc-macros
This commit is contained in:
parent
bc3eb5c547
commit
13f7516a4d
6 changed files with 22 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ pub fn codegen(
|
|||
// For future use
|
||||
// let doc = format!(" RTIC internal: {}:{}", file!(), line!());
|
||||
mod_app.push(quote!(
|
||||
#[allow(non_camel_case_types)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
// #[doc = #doc]
|
||||
#[doc(hidden)]
|
||||
|
|
@ -58,6 +59,7 @@ pub fn codegen(
|
|||
// For future use
|
||||
// let doc = format!(" RTIC internal: {}:{}", file!(), line!());
|
||||
mod_app.push(quote!(
|
||||
#[allow(non_camel_case_types)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
// #[doc = #doc]
|
||||
#[doc(hidden)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue