mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
more fixes
This commit is contained in:
parent
5a3605050e
commit
abca829926
41 changed files with 30 additions and 65 deletions
|
|
@ -1,6 +1,5 @@
|
|||
//! Procedural macros of the `cortex-m-rtfm` crate
|
||||
// #![deny(warnings)]
|
||||
#![feature(proc_macro)]
|
||||
#![recursion_limit = "128"]
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ fn idle(app: &App, ownerships: &Ownerships, main: &mut Vec<TokenStream>, root: &
|
|||
});
|
||||
|
||||
rexprs.push(quote! {
|
||||
#name: ::idle::#name { _0: core::marker::PhantomData },
|
||||
#name: ::idle::#name { _0: ::core::marker::PhantomData },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -149,7 +149,7 @@ fn idle(app: &App, ownerships: &Ownerships, main: &mut Vec<TokenStream>, root: &
|
|||
|
||||
mod_items.push(quote! {
|
||||
#[allow(non_camel_case_types)]
|
||||
pub struct #name { _0: core::marker::PhantomData<*const ()> }
|
||||
pub struct #name { _0: ::core::marker::PhantomData<*const ()> }
|
||||
});
|
||||
|
||||
root.push(quote! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue