Hide warning when tests/features/error is not triggered
diff --git a/tests/features/mod.rs b/tests/features/mod.rs
index b9a9797..83fbe13 100644
--- a/tests/features/mod.rs
+++ b/tests/features/mod.rs
@@ -1,6 +1,7 @@
+#[allow(unused_macros)]
 macro_rules! hide_from_rustfmt {
-    ($($tt:tt)*) => {
-        $($tt)*
+    ($mod:item) => {
+        $mod
     };
 }