about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-02 05:31:34 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-02 05:31:34 +0530
commite955f4323b6aebed32250ffaaba8e8fdb680b4d5 (patch)
treed80b84a3966d46b7fbdca8ca4114ed8b59930c20 /src
parent157614249594f187f421cd97f928e64c5ab5c1fa (diff)
downloadrust-e955f4323b6aebed32250ffaaba8e8fdb680b4d5.tar.gz
rust-e955f4323b6aebed32250ffaaba8e8fdb680b4d5.zip
Fix unknown attribute in test
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/macro-attributes.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/macro-attributes.rs b/src/test/run-pass/macro-attributes.rs
index 521aef4b5ba..2752fc88b45 100644
--- a/src/test/run-pass/macro-attributes.rs
+++ b/src/test/run-pass/macro-attributes.rs
@@ -10,6 +10,8 @@
 
 // ignore-pretty - token trees can't pretty print
 
+#![feature(custom_attribute)]
+
 macro_rules! compiles_fine {
     (#[$at:meta]) => {
         // test that the different types of attributes work