]> git.lizzy.rs Git - rust.git/commitdiff
fallout: part of changes to compile-fail tests. (follows same pattern as prior two...
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 8 Jan 2015 01:41:23 +0000 (02:41 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 8 Jan 2015 01:41:23 +0000 (02:41 +0100)
src/test/compile-fail/autoderef-full-lval.rs
src/test/compile-fail/borrow-tuple-fields.rs
src/test/compile-fail/borrowck-array-double-move.rs

index bbe5af1b51675674a88c84158f8d6605b7a177e8..fb58028658e1bb1bfcf835d71a60e13ec384b80e 100644 (file)
@@ -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>,
index 1d09143c24d1d42f83913e0697bad8f2714008d0..59ed0e5fa0630c0b6dc57226308a0fcbe6f41ac5 100644 (file)
@@ -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);
index c872d0dc4b9c4aa5e0ada23002d18b5231a506d4..ef2c629acfebd5c120e0812c582e0e5e5ab0e096 100644 (file)
@@ -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]);