We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68716e commit 6d7827cCopy full SHA for 6d7827c
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 9d6cc05a062c9cf131939ab7c9de5acbd6afd8cc
+refs/heads/master: a81f88d4d642d0cae324b301df3fe089f0d090b4
3
refs/heads/snap-stage3: a5c12f4e39d32af3c951b66bd2839bc0b5a1125b
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
trunk/src/test/run-pass/new-box-syntax.rs
@@ -31,4 +31,9 @@ pub fn main() {
31
let y: Box<isize> = box 2;
32
let b: Box<isize> = box()(1 + 2);
33
let c = box()(3 + 4);
34
+
35
+ let s: Box<Structure> = box Structure {
36
+ x: 3,
37
+ y: 4,
38
+ };
39
}
0 commit comments