fallout: part of changes to compile-fail tests. (follows same pattern as prior two commits.)

This commit is contained in:
Felix S. Klock II 2015-01-08 02:41:23 +01:00
parent d859816715
commit ae4bcd41e8
3 changed files with 9 additions and 0 deletions

View 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>,

View 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);

View 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]);