about summary refs log tree commit diff
path: root/src/test/compile-fail/macro-tt-matchers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/macro-tt-matchers.rs')
-rw-r--r--src/test/compile-fail/macro-tt-matchers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/macro-tt-matchers.rs b/src/test/compile-fail/macro-tt-matchers.rs
index 945490cefb9..969f1500717 100644
--- a/src/test/compile-fail/macro-tt-matchers.rs
+++ b/src/test/compile-fail/macro-tt-matchers.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 #![feature(rustc_attrs)]
+#![allow(dead_code)]
 
 macro_rules! foo {
     ($x:tt) => (type Alias = $x<i32>;)