Skip to content

Commit 9707341

Browse files
committed
---
yaml --- r: 13607 b: refs/heads/master c: 9a2b60d h: refs/heads/master i: 13605: 82d1337 13603: f122884 13599: 1fe175b v: v3
1 parent 59aee1e commit 9707341

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,5 +1,5 @@
11
---
2-
refs/heads/master: 287f163136b2527504162012b94d346f5523eac9
2+
refs/heads/master: 9a2b60dfce3ababb59eac53b7da083d7bd087e1d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)