diff --git a/crates/ra_mbe/src/lib.rs b/crates/ra_mbe/src/lib.rs index 9c450eabae..dec7ba22ea 100644 --- a/crates/ra_mbe/src/lib.rs +++ b/crates/ra_mbe/src/lib.rs @@ -9,6 +9,9 @@ mod syntax_bridge; mod tt_iter; mod subtree_source; +#[cfg(test)] +mod tests; + pub use tt::{Delimiter, Punct}; use crate::{ @@ -273,6 +276,3 @@ impl From> for ExpandResult { .map_or_else(|e| ExpandResult(Default::default(), Some(e)), |it| ExpandResult(it, None)) } } - -#[cfg(test)] -mod tests;