Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore unused_macro_rules warning in test macros
warning: 2nd rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:44:5 | 44 | (($($expr:tt)*) as $t:ty, @$snapshot:literal) => {{ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_macro_rules)]` on by default warning: 1st rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:37:5 | 37 | (($expr:ident) as $t:ty, @$snapshot:literal) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 3rd rule of macro `snapshot_impl` is never used --> tests/macros/mod.rs:52:5 | 52 | (($($expr:tt)*) , @$snapshot:literal) => {{ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 2nd rule of macro `spanless_eq_enum` is never used --> tests/common/eq.rs:225:5 | 225 | / { 226 | | $($name:ident)::+; 227 | | $([$($variant:ident)::+; $($fields:tt)*])* 228 | | $next:ident [$([$($named:tt)*])* $(![$ignore:tt])*] (!$i:tt $($field:tt)*) 229 | | $($rest:tt)* 230 | | } => { | |_____^ | = note: `#[warn(unused_macro_rules)]` on by default
- Loading branch information