about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-10-14 16:01:58 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-10-14 16:01:58 -0400
commite4e444a26ba1597f99e4537f2aaa389509543efc (patch)
tree4368de7ae0eb3680bff413ce128bf84e6741ad3e /src/tools/compiletest
parentd34318dd538bf4c9175e4138b3e4188ea8211620 (diff)
downloadrust-e4e444a26ba1597f99e4537f2aaa389509543efc.tar.gz
rust-e4e444a26ba1597f99e4537f2aaa389509543efc.zip
Fix make check-stage1 by conditionally activating question_mark feature for compiletest tool.
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index 81478c18d7b..e6efd45cad1 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -15,6 +15,8 @@
 #![feature(test)]
 #![feature(libc)]
 
+#![cfg_attr(stage0, feature(question_mark))]
+
 #![deny(warnings)]
 
 extern crate libc;