commit | b3687c02905ecb3eda12f1763e28d2d9e6763139 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Tue Nov 06 20:49:53 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Tue Nov 06 20:49:53 2018 -0800 |
tree | b390aceac7f15f7e286dd7ddd11143ee16369e73 | |
parent | f2b786072f13659423655e3364a553488e50248a [diff] [blame] |
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 }; }