about summary refs log tree commit diff
path: root/src/test/run-pass/func-arg-incomplete-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/func-arg-incomplete-pattern.rs')
-rw-r--r--src/test/run-pass/func-arg-incomplete-pattern.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/func-arg-incomplete-pattern.rs b/src/test/run-pass/func-arg-incomplete-pattern.rs
index 6d06c12c450..b23d8db3cfd 100644
--- a/src/test/run-pass/func-arg-incomplete-pattern.rs
+++ b/src/test/run-pass/func-arg-incomplete-pattern.rs
@@ -11,6 +11,8 @@
 // Test that we do not leak when the arg pattern must drop part of the
 // argument (in this case, the `y` field).
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 struct Foo {
     x: Box<uint>,