• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //! The Diplomat core module contains common logic between
2 //! the macro expansion and code generation. Right now, this
3 //! is primarily the AST types that Diplomat generates while
4 //! extracting APIs.
5 
6 #![allow(clippy::needless_lifetimes)] // we use named lifetimes for clarity
7 #![warn(clippy::exhaustive_structs, clippy::exhaustive_enums)]
8 
9 pub mod ast;
10 #[cfg(feature = "hir")]
11 pub mod hir;
12 
13 mod environment;
14 
15 pub use environment::{Env, ModuleEnv};
16