Skip to content
Myr

Ignore unused_macro_rules warning in test macros

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by David Tolnay · committed by David Tolnay · parent 2eed86c · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:test_suite/tests/macros/mod.rs+2 added
1#![allow(unused_macro_rules)]23use serde_test::Token;4use std::iter;56macro_rules! btreeset {
73 unmodified lines