Skip to content

Commit 320e0dc

Browse files
committed
---
yaml --- r: 228668 b: refs/heads/try c: a81f88d h: refs/heads/master v: v3
1 parent dfde3d5 commit 320e0dc

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,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 9d6cc05a062c9cf131939ab7c9de5acbd6afd8cc
4+
refs/heads/try: a81f88d4d642d0cae324b301df3fe089f0d090b4
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)