]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/panics/args-panic.rs
Rollup merge of #89235 - yaahc:junit-formatting, r=kennytm
[rust.git] / src / test / ui / panics / args-panic.rs
index 322054caf116140b92e2b4d54a8be8e103f522d9..7636025c25b8324c5c7345c760590fef141aff2f 100644 (file)
@@ -2,12 +2,10 @@
 // error-pattern:meep
 // ignore-emscripten no processes
 
-#![feature(box_syntax)]
-
 fn f(_a: isize, _b: isize, _c: Box<isize>) {
     panic!("moop");
 }
 
 fn main() {
-    f(1, panic!("meep"), box 42);
+    f(1, panic!("meep"), Box::new(42));
 }