Skip to content

Commit 6d7827c

Browse files
committed
---
yaml --- r: 221603 b: refs/heads/master c: a81f88d h: refs/heads/master i: 221601: 9e3a137 221599: 23b0029 v: v3
1 parent c68716e commit 6d7827c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9d6cc05a062c9cf131939ab7c9de5acbd6afd8cc
2+
refs/heads/master: a81f88d4d642d0cae324b301df3fe089f0d090b4
33
refs/heads/snap-stage3: a5c12f4e39d32af3c951b66bd2839bc0b5a1125b
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/test/run-pass/new-box-syntax.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ pub fn main() {
3131
let y: Box<isize> = box 2;
3232
let b: Box<isize> = box()(1 + 2);
3333
let c = box()(3 + 4);
34+
35+
let s: Box<Structure> = box Structure {
36+
x: 3,
37+
y: 4,
38+
};
3439
}

0 commit comments

Comments
 (0)