about summary refs log tree commit diff
path: root/src/test/compile-fail/feature-gate-box-expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/feature-gate-box-expr.rs')
-rw-r--r--src/test/compile-fail/feature-gate-box-expr.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/compile-fail/feature-gate-box-expr.rs b/src/test/compile-fail/feature-gate-box-expr.rs
index ace1b399662..f1bb5c0dea2 100644
--- a/src/test/compile-fail/feature-gate-box-expr.rs
+++ b/src/test/compile-fail/feature-gate-box-expr.rs
@@ -19,8 +19,4 @@
 fn main() {
     let x = box 'c'; //~ ERROR box expression syntax is experimental
     println!("x: {}", x);
-
-    let x = box () 'c'; //~ ERROR box expression syntax is experimental
-    //~^ WARN deprecated syntax
-    println!("x: {}", x);
 }