Skip to content

Commit

Permalink
fallout: part of changes to compile-fail tests. (follows same pattern…
Browse files Browse the repository at this point in the history
… as prior two commits.)
  • Loading branch information
pnkfelix committed Jan 8, 2015
1 parent d859816 commit ae4bcd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/compile-fail/autoderef-full-lval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down
3 changes: 3 additions & 0 deletions src/test/compile-fail/borrow-tuple-fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions src/test/compile-fail/borrowck-array-double-move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

1 comment on commit ae4bcd4

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.