aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/codegen.rs')
-rw-r--r--macros/src/codegen.rs6
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