Skip to content

Commit ae4bcd4

Browse files
committed
fallout: part of changes to compile-fail tests. (follows same pattern as prior two commits.)
1 parent d859816 commit ae4bcd4

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/test/compile-fail/autoderef-full-lval.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unknown_features)]
12+
#![feature(box_syntax)]
13+
1114
struct clam {
1215
x: Box<isize>,
1316
y: Box<isize>,

src/test/compile-fail/borrow-tuple-fields.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unknown_features)]
12+
#![feature(box_syntax)]
13+
1114
struct Foo(Box<int>, int);
1215

1316
struct Bar(int, int);

src/test/compile-fail/borrowck-array-double-move.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![allow(unknown_features)]
12+
#![feature(box_syntax)]
13+
1114
fn f() {
1215
let mut a = [box 0i, box 1i];
1316
drop(a[0]);

0 commit comments

Comments
 (0)