Skip to content

Commit d0c2f03

Browse files
committed
---
yaml --- r: 10494 b: refs/heads/snap-stage3 c: 663000c h: refs/heads/master v: v3
1 parent 37a3f90 commit d0c2f03

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0a6ef35c8c38c8aa4a088d43e2ecb79cecd63baa
4+
refs/heads/snap-stage3: 663000ce35635b3f53e21590749c5d905e411bcd
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/test/run-pass/autobind.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// FIXME: Autobind doesn't work for bare functions currently
2-
// because it would have to convert them to shared closures
3-
// xfail-test
4-
5-
fn f<T>(x: [T]) -> T { ret x[0]; }
1+
fn f<T: copy>(x: [T]) -> T { ret x[0]; }
62

73
fn g(act: fn([int]) -> int) -> int { ret act([1, 2, 3]); }
84

0 commit comments

Comments
 (0)