about summary refs log tree commit diff
path: root/src/test/debuginfo/destructured-for-loop-variable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debuginfo/destructured-for-loop-variable.rs')
-rw-r--r--src/test/debuginfo/destructured-for-loop-variable.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/debuginfo/destructured-for-loop-variable.rs b/src/test/debuginfo/destructured-for-loop-variable.rs
index 1532c83dfac..15cb88ef25d 100644
--- a/src/test/debuginfo/destructured-for-loop-variable.rs
+++ b/src/test/debuginfo/destructured-for-loop-variable.rs
@@ -173,7 +173,6 @@
 
 #![allow(unused_variables)]
 #![feature(box_patterns)]
-#![feature(box_syntax)]
 #![feature(omit_gdb_pretty_printer_section)]
 #![omit_gdb_pretty_printer_section]
 
@@ -214,7 +213,7 @@ fn main() {
             y: -300001.5,
             z: true
          },
-         box 854237.5);
+         Box::new(854237.5));
 
     for &(v1,
           &Struct { x: x1, y: ref y1, z: z1 },