summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4759.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-4759.rs')
-rw-r--r--src/test/ui/issues/issue-4759.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/ui/issues/issue-4759.rs b/src/test/ui/issues/issue-4759.rs
index 53785af09..e5b9e2ed5 100644
--- a/src/test/ui/issues/issue-4759.rs
+++ b/src/test/ui/issues/issue-4759.rs
@@ -2,8 +2,6 @@
// pretty-expanded FIXME #23616
#![allow(non_shorthand_field_patterns)]
-#![feature(box_syntax)]
-
struct T { a: Box<isize> }
trait U {
@@ -15,6 +13,6 @@ impl U for Box<isize> {
}
pub fn main() {
- let T { a: a } = T { a: box 0 };
+ let T { a: a } = T { a: Box::new(0) };
a.f();
}