Skip to content

Commit 2cee214

Browse files
committed
Merge branch 'incoming' into snap-2012-10-05
2 parents e3f1d34 + bbda995 commit 2cee214

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// error-pattern:Unsatisfied precondition constraint
2-
31
fn main() {
42
let x = 5;
53
let _y = fn~(move x) { };
6-
let _z = x; //< error: Unsatisfied precondition constraint
4+
let _z = x; //~ ERROR use of moved variable: `x`
75
}

0 commit comments

Comments
 (0)