Merge branch 'incoming' into snap-2012-10-05

This commit is contained in:
Tim Chevalier 2012-10-08 10:48:07 -07:00
commit 2cee21462f

View File

@ -1,7 +1,5 @@
// error-pattern:Unsatisfied precondition constraint
fn main() {
let x = 5;
let _y = fn~(move x) { };
let _z = x; //< error: Unsatisfied precondition constraint
let _z = x; //~ ERROR use of moved variable: `x`
}