summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-13323.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-13323.rs')
-rw-r--r--src/test/ui/issues/issue-13323.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-13323.rs b/src/test/ui/issues/issue-13323.rs
index 26847ee7a..71e14d4da 100644
--- a/src/test/ui/issues/issue-13323.rs
+++ b/src/test/ui/issues/issue-13323.rs
@@ -1,5 +1,4 @@
// run-pass
-#![feature(box_syntax)]
struct StrWrap {
s: String
@@ -48,7 +47,7 @@ impl<T: Eq> Matcher<T> for EqualTo<T> {
}
fn equal_to<T: Eq>(expected: T) -> Box<EqualTo<T>> {
- box EqualTo { expected: expected }
+ Box::new(EqualTo { expected: expected })
}
pub fn main() {