Skip to content

Commit 9a2b60d

Browse files
committed
unxfail test for #2657
1 parent 287f163 commit 9a2b60d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/test/compile-fail/borrowck-issue-2657-2.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
//xfail-test
2-
3-
// this should be illegal but borrowck is not handling
4-
// pattern bindings correctly right now
5-
61
fn main() {
72
let x = some(~1);
83
alt x {
94
some(y) {
10-
let b <- y;
5+
let _b <- y; //! ERROR moving out of pattern binding
116
}
127
_ {}
138
}

0 commit comments

Comments
 (0)