Skip to content

Commit 4a7ab37

Browse files
committed
---
yaml --- r: 41932 b: refs/heads/master c: 721c174 h: refs/heads/master v: v3
1 parent 037a65c commit 4a7ab37

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
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: cb1f957f71b4fafa3b9a39a03fe8b99df0c658a2
2+
refs/heads/master: 721c174b6c7e856633577d17f05bdd3fd4fc8a12
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/test/auxiliary/issue-2526.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ fn arc<T: Const>(_data: T) -> arc_destruct<T> {
3535
arc_destruct(0)
3636
}
3737

38-
fn init() -> arc_destruct<context_res> unsafe {
39-
arc(context_res())
38+
fn init() -> arc_destruct<context_res> {
39+
unsafe {
40+
arc(context_res())
41+
}
4042
}
4143

4244
struct context_res {

0 commit comments

Comments
 (0)