diff options
author | 2018-12-16 19:13:22 +0100 | |
---|---|---|
committer | 2018-12-16 19:14:58 +0100 | |
commit | 56d09a12dd645166af7d6def6b95bf71ae7962bd (patch) | |
tree | 44529dc248cc69772e51daa761d49c5d9ccbdc56 /macros/src/codegen.rs | |
parent | 8e9a91d0b09313eee0f7fa44cc827dced0ea1806 (diff) | |
download | rtic-56d09a12dd645166af7d6def6b95bf71ae7962bd.tar.gz rtic-56d09a12dd645166af7d6def6b95bf71ae7962bd.tar.zst rtic-56d09a12dd645166af7d6def6b95bf71ae7962bd.zip |
move macros crate to the 2018 edition
Diffstat (limited to 'macros/src/codegen.rs')
-rw-r--r-- | macros/src/codegen.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index eafea945..45c3e263 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -12,8 +12,10 @@ use quote::quote; use rand::{Rng, SeedableRng}; use syn::{parse_quote, ArgCaptured, Attribute, Ident, IntSuffix, LitInt}; -use analyze::{Analysis, Ownership}; -use syntax::{App, Idents, Static}; +use crate::{ + analyze::{Analysis, Ownership}, + syntax::{App, Idents, Static}, +}; // NOTE to avoid polluting the user namespaces we map some identifiers to pseudo-hygienic names. // In some instances we also use the pseudo-hygienic names for safety, for example the user should |