diff --git a/src/lib.rs b/src/lib.rs index bf07157..4121798 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,12 +29,14 @@ impl FakeBox { // Needed for older compilers, to ignore vec!/format! macros in tests #[cfg(not(feature="collections"))] +#[allow(unused)] macro_rules! vec ( ( $ elem : expr ; $ n : expr ) => { () }; ( $ ( $ x : expr ) , * ) => { () }; ( $ ( $ x : expr , ) * ) => { () }; ); #[cfg(not(feature="collections"))] +#[allow(unused)] macro_rules! format { ( $ ( $ arg : tt ) * ) => { () }; }