]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/crate-method-reexport-grrrrrrr.rs
Rollup merge of #87440 - twetzel59:fix-barrier-no-op, r=yaahc
[rust.git] / src / test / ui / crate-method-reexport-grrrrrrr.rs
index eefcf7738ada779adf96a0d414c88ce9bb978433..55e05cfb203b9c806abf38c654178f7c2b2e9a3e 100644 (file)
@@ -1,8 +1,6 @@
 // run-pass
 // pretty-expanded FIXME #23616
 
-#![feature(box_syntax)]
-
 // This is a regression test that the metadata for the
 // name_pool::methods impl in the other crate is reachable from this
 // crate.
@@ -14,7 +12,7 @@
 pub fn main() {
     use crate_method_reexport_grrrrrrr2::rust::add;
     use crate_method_reexport_grrrrrrr2::rust::cx;
-    let x: Box<_> = box ();
+    let x: Box<_> = Box::new(());
     x.cx();
     let y = ();
     y.add("hi".to_string());