Ignore unused_macro_rules warning in test macros

warning: 1st rule of macro `btreeset` is never used
     --> test_suite/tests/macros/mod.rs:5:5
      |
    5 |     () => {
      |     ^^
      |
      = note: `#[warn(unused_macro_rules)]` on by default

    warning: 1st rule of macro `hashset` is never used
      --> test_suite/tests/macros/mod.rs:27:5
       |
    27 |     () => {
       |     ^^

    warning: 1st rule of macro `hashmap` is never used
      --> test_suite/tests/macros/mod.rs:44:5
       |
    44 |     () => {
       |     ^^

    warning: 1st rule of macro `hashset` is never used
      --> test_suite/tests/macros/mod.rs:27:5
       |
    27 |     () => {
       |     ^^
       |
       = note: `#[warn(unused_macro_rules)]` on by default
This commit is contained in:
David Tolnay 2022-05-12 21:33:42 -07:00
parent 2eed86cd67
commit 819f90d9f6
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1,3 +1,5 @@
#![allow(unused_macro_rules)]
use serde_test::Token;
use std::iter;