diff options
Diffstat (limited to 'src/test/compile-fail/static-mut-not-constant.rs')
| -rw-r--r-- | src/test/compile-fail/static-mut-not-constant.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/static-mut-not-constant.rs b/src/test/compile-fail/static-mut-not-constant.rs index 84c72de5548..fd05f05502e 100644 --- a/src/test/compile-fail/static-mut-not-constant.rs +++ b/src/test/compile-fail/static-mut-not-constant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![feature(box_syntax)] static mut a: Box<int> = box 3; //~^ ERROR statics are not allowed to have custom pointers |
