Revert "cap-clause-use-after-move: modernize error msg"

This reverts commit bbda995bfe.
This commit is contained in:
Tim Chevalier 2012-10-08 13:11:16 -07:00
parent 5b415c7372
commit a477c5af20

View File

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