Skip to content

Commit 278573f

Browse files
committed
Fix test case
after a syntax update, this test now appears to pass. I'm not entirely sure what it was supposed to test, though....
1 parent ac08a21 commit 278573f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/run-pass/bind-by-move.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// xfail-test
12-
// xfail-fast
1311
extern mod std;
1412
use std::arc;
15-
fn dispose(+_x: arc::ARC<bool>) unsafe { }
13+
fn dispose(_x: arc::ARC<bool>) { unsafe { } }
1614

1715
pub fn main() {
18-
let p = arc::arc(true);
16+
let p = arc::ARC(true);
1917
let x = Some(p);
2018
match x {
2119
Some(z) => { dispose(z); },

0 commit comments

Comments
 (0)