about summary refs log tree commit diff
path: root/src/test/run-pass/while-loop-constraints-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/while-loop-constraints-2.rs')
-rw-r--r--src/test/run-pass/while-loop-constraints-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/while-loop-constraints-2.rs b/src/test/run-pass/while-loop-constraints-2.rs
index 3d44cf2669b..df5f5904793 100644
--- a/src/test/run-pass/while-loop-constraints-2.rs
+++ b/src/test/run-pass/while-loop-constraints-2.rs
@@ -15,7 +15,7 @@ pub fn main() {
     let mut x: int;
     while z < 50 {
         z += 1;
-        while false { x = move y; y = z; }
+        while false { x = y; y = z; }
         log(debug, y);
     }
     assert (y == 42 && z == 50);