Skip to content

Commit aa5eb03

Browse files
committed
---
yaml --- r: 224156 b: refs/heads/beta c: a81f88d h: refs/heads/master v: v3
1 parent 9af4770 commit aa5eb03

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
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 9d6cc05a062c9cf131939ab7c9de5acbd6afd8cc
26+
refs/heads/beta: a81f88d4d642d0cae324b301df3fe089f0d090b4
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

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