about summary refs log tree commit diff
path: root/src/test/compile-fail/borrow-tuple-fields.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-01-08 02:41:23 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-01-08 02:41:23 +0100
commitae4bcd41e8014b6057fe0a328c87f32f917396ba (patch)
tree6be10a8aec5bb481639cbabf577d44087d81d057 /src/test/compile-fail/borrow-tuple-fields.rs
parentd8598167152fef505189845fa9185c85900c39f1 (diff)
downloadrust-ae4bcd41e8014b6057fe0a328c87f32f917396ba.tar.gz
rust-ae4bcd41e8014b6057fe0a328c87f32f917396ba.zip
fallout: part of changes to compile-fail tests. (follows same pattern as prior two commits.)
Diffstat (limited to 'src/test/compile-fail/borrow-tuple-fields.rs')
-rw-r--r--src/test/compile-fail/borrow-tuple-fields.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/borrow-tuple-fields.rs b/src/test/compile-fail/borrow-tuple-fields.rs
index 1d09143c24d..59ed0e5fa06 100644
--- a/src/test/compile-fail/borrow-tuple-fields.rs
+++ b/src/test/compile-fail/borrow-tuple-fields.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
+
 struct Foo(Box<int>, int);
 
 struct Bar(int, int);