From 5ca271288845c65f40a6bee6b4ae1f2512e437be Mon Sep 17 00:00:00 2001 From: collin Date: Tue, 7 Jul 2020 20:01:25 -0700 Subject: [PATCH] crate expression module --- compiler/src/constraints/mod.rs | 3 --- compiler/src/{constraints => expression}/expression.rs | 0 compiler/src/expression/mod.rs | 2 ++ compiler/src/lib.rs | 3 +++ 4 files changed, 5 insertions(+), 3 deletions(-) rename compiler/src/{constraints => expression}/expression.rs (100%) create mode 100644 compiler/src/expression/mod.rs diff --git a/compiler/src/constraints/mod.rs b/compiler/src/constraints/mod.rs index 6d7aa0265e..5768822746 100644 --- a/compiler/src/constraints/mod.rs +++ b/compiler/src/constraints/mod.rs @@ -3,9 +3,6 @@ pub mod function; pub use self::function::*; -pub mod expression; -pub use self::expression::*; - pub mod generate_constraints; pub use self::generate_constraints::*; diff --git a/compiler/src/constraints/expression.rs b/compiler/src/expression/expression.rs similarity index 100% rename from compiler/src/constraints/expression.rs rename to compiler/src/expression/expression.rs diff --git a/compiler/src/expression/mod.rs b/compiler/src/expression/mod.rs new file mode 100644 index 0000000000..0590efa91a --- /dev/null +++ b/compiler/src/expression/mod.rs @@ -0,0 +1,2 @@ +pub mod expression; +pub use expression::*; diff --git a/compiler/src/lib.rs b/compiler/src/lib.rs index 7ef656f758..2176ada65a 100644 --- a/compiler/src/lib.rs +++ b/compiler/src/lib.rs @@ -12,6 +12,9 @@ pub mod definitions; pub mod errors; +pub mod expression; +pub use self::expression::*; + pub mod imports; pub use self::imports::*;