Skip to content

Commit efb3cc3

Browse files
committed
---
yaml --- r: 10627 b: refs/heads/snap-stage3 c: 9a2b60d h: refs/heads/master i: 10625: 2b08fcf 10623: b3acaec v: v3
1 parent 9db87f7 commit efb3cc3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
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: 287f163136b2527504162012b94d346f5523eac9
4+
refs/heads/snap-stage3: 9a2b60dfce3ababb59eac53b7da083d7bd087e1d
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

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

Lines changed: 1 addition & 6 deletions
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)