diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index f6d11844a8..ee4de6fa97 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs @@ -132,7 +132,8 @@ impl CrateGraph { } -mod test { +#[cfg(test)] +mod tests { use super::{CrateGraph, FxHashMap, FileId, SmolStr}; #[test] #[should_panic]