aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/src/lib.rs1
-rw-r--r--macros/src/trans.rs4
2 files changed, 2 insertions, 3 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 728e6133..65d5ad89 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -1,6 +1,5 @@
//! Procedural macros of the `cortex-m-rtfm` crate
// #![deny(warnings)]
-#![feature(proc_macro)]
#![recursion_limit = "128"]
#[macro_use]
diff --git a/macros/src/trans.rs b/macros/src/trans.rs
index 3da1e3ef..dcd6cfb6 100644
--- a/macros/src/trans.rs
+++ b/macros/src/trans.rs
@@ -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! {