diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-01-08 02:41:23 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-01-08 02:41:23 +0100 |
| commit | ae4bcd41e8014b6057fe0a328c87f32f917396ba (patch) | |
| tree | 6be10a8aec5bb481639cbabf577d44087d81d057 | |
| parent | d8598167152fef505189845fa9185c85900c39f1 (diff) | |
| download | rust-ae4bcd41e8014b6057fe0a328c87f32f917396ba.tar.gz rust-ae4bcd41e8014b6057fe0a328c87f32f917396ba.zip | |
fallout: part of changes to compile-fail tests. (follows same pattern as prior two commits.)
| -rw-r--r-- | src/test/compile-fail/autoderef-full-lval.rs | 3 | ||||
| -rw-r--r-- | src/test/compile-fail/borrow-tuple-fields.rs | 3 | ||||
| -rw-r--r-- | src/test/compile-fail/borrowck-array-double-move.rs | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/test/compile-fail/autoderef-full-lval.rs b/src/test/compile-fail/autoderef-full-lval.rs index bbe5af1b516..fb58028658e 100644 --- a/src/test/compile-fail/autoderef-full-lval.rs +++ b/src/test/compile-fail/autoderef-full-lval.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 clam { x: Box<isize>, y: Box<isize>, 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); diff --git a/src/test/compile-fail/borrowck-array-double-move.rs b/src/test/compile-fail/borrowck-array-double-move.rs index c872d0dc4b9..ef2c629acfe 100644 --- a/src/test/compile-fail/borrowck-array-double-move.rs +++ b/src/test/compile-fail/borrowck-array-double-move.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)] + fn f() { let mut a = [box 0i, box 1i]; drop(a[0]); |
