diff options
Diffstat (limited to 'src/syntax/mod.rs')
| -rw-r--r-- | src/syntax/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index 620a929e..f640f84e 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -9,6 +9,10 @@ use crate::{Pass, Feedback}; use crate::layout::{LayoutContext, Commands, Command}; use self::span::{Spanned, SpanVec}; +#[cfg(test)] +#[macro_use] +mod test; + pub mod expr; pub mod func; pub mod span; @@ -16,9 +20,6 @@ pub_use_mod!(scope); pub_use_mod!(parsing); pub_use_mod!(tokens); -#[cfg(test)] -mod test; - /// Represents a parsed piece of source that can be layouted and in the future /// also be queried for information used for refactorings, autocomplete, etc. |
