File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
branches/snap-stage3/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 287f163136b2527504162012b94d346f5523eac9
4
+ refs/heads/snap-stage3: 9a2b60dfce3ababb59eac53b7da083d7bd087e1d
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 1
- //xfail-test
2
-
3
- // this should be illegal but borrowck is not handling
4
- // pattern bindings correctly right now
5
-
6
1
fn main ( ) {
7
2
let x = some ( ~1 ) ;
8
3
alt x {
9
4
some( y) {
10
- let b <- y;
5
+ let _b <- y; //! ERROR moving out of pattern binding
11
6
}
12
7
_ { }
13
8
}
You can’t perform that action at this time.
0 commit comments