diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:42:47 -0800 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:42:47 -0800 | 
| commit | 373cbab5b08d6630da58f28d2166c19afc327fa6 (patch) | |
| tree | 860d19575778256a9345ce33d5eeef6b54f91300 /src/test/compile-fail/borrowck-array-double-move.rs | |
| parent | d11bfba71bb71e05ab93e1576a07a48269b13021 (diff) | |
| parent | ae4bcd41e8014b6057fe0a328c87f32f917396ba (diff) | |
| download | rust-373cbab5b08d6630da58f28d2166c19afc327fa6.tar.gz rust-373cbab5b08d6630da58f28d2166c19afc327fa6.zip  | |
rollup merge of #20723: pnkfelix/feature-gate-box-syntax
Conflicts: src/compiletest/compiletest.rs src/libcollections/lib.rs src/libserialize/lib.rs src/libsyntax/feature_gate.rs
Diffstat (limited to 'src/test/compile-fail/borrowck-array-double-move.rs')
| -rw-r--r-- | src/test/compile-fail/borrowck-array-double-move.rs | 3 | 
1 files changed, 3 insertions, 0 deletions
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]);  | 
