about summary refs log tree commit diff
path: root/src/test/compile-fail/macro-input-future-proofing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/macro-input-future-proofing.rs')
-rw-r--r--src/test/compile-fail/macro-input-future-proofing.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/macro-input-future-proofing.rs b/src/test/compile-fail/macro-input-future-proofing.rs
index fe758a4a631..e5fdba63b0f 100644
--- a/src/test/compile-fail/macro-input-future-proofing.rs
+++ b/src/test/compile-fail/macro-input-future-proofing.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_macros)]
+
 macro_rules! errors_everywhere {
     ($ty:ty <) => (); //~ ERROR `$ty:ty` is followed by `<`, which is not allowed for `ty`
     ($ty:ty < foo ,) => (); //~ ERROR `$ty:ty` is followed by `<`, which is not allowed for `ty`