From: Ian Jackson Date: Wed, 21 Jul 2021 19:38:44 +0000 (+0100) Subject: autolower: Tolerate empty test module without warning X-Git-Tag: otter-0.7.2~19 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ca74ec16395613e91c1564f905c07800a35afd43;p=otter.git autolower: Tolerate empty test module without warning Signed-off-by: Ian Jackson --- diff --git a/src/gamestate.rs b/src/gamestate.rs index 8a84ab5a..aba70d14 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -572,7 +572,7 @@ pub fn piece_make_heavy(gpieces: &GPieces, piece: PieceId) -> ZCoord { #[cfg(test)] mod test { - use super::*; + #[allow(unused_imports)] use super::*; #[test] #[cfg(not(miri))]