about summary refs log tree commit diff
path: root/src/test/debuginfo/destructured-for-loop-variable.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2021-08-25 02:39:40 +0200
committerest31 <MTest31@outlook.com>2021-09-26 04:07:44 +0200
commit6550021124451628b1efc60c59284465b109e3aa (patch)
tree1b576863a1690a23001792194352e1dea45af78f /src/test/debuginfo/destructured-for-loop-variable.rs
parent63cc2bb3d07d6c726dfcdc5f95cbe5ed4760641a (diff)
downloadrust-6550021124451628b1efc60c59284465b109e3aa.tar.gz
rust-6550021124451628b1efc60c59284465b109e3aa.zip
Remove box syntax from most places in src/test outside of the issues dir
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 },