Skip to content

Commit 7b152ba

Browse files
committed
auto merge of #5881 : danluu/rust/xfail_bind_by_move, r=graydon
Update an old test to pass. I'm not 100% sure what the intent of the test was, but it's hard to see how I could have corrupted the intent of the test from the tiny changes I made.
2 parents 1ab1354 + caa1079 commit 7b152ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// xfail-test
1211
// xfail-fast
1312
extern mod std;
1413
use std::arc;
15-
fn dispose(+_x: arc::ARC<bool>) unsafe { }
14+
fn dispose(+_x: arc::ARC<bool>) { unsafe { } }
1615

1716
pub fn main() {
18-
let p = arc::arc(true);
17+
let p = arc::ARC(true);
1918
let x = Some(p);
2019
match x {
2120
Some(z) => { dispose(z); },

0 commit comments

Comments
 (0)