about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-move-in-while.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-03-08 12:39:42 -0800
committerBrian Anderson <banderson@mozilla.com>2013-03-11 23:19:42 -0700
commit82f190355b07f941bcc98408ea84c02b629991cf (patch)
tree3f6f1c768cb9e4708aff36b5d720805162d95a8b /src/test/compile-fail/liveness-move-in-while.rs
parent2fef18abf2b6a9b3c336b1da5b8a08a22438ad4c (diff)
downloadrust-82f190355b07f941bcc98408ea84c02b629991cf.tar.gz
rust-82f190355b07f941bcc98408ea84c02b629991cf.zip
Remove uses of log
Diffstat (limited to 'src/test/compile-fail/liveness-move-in-while.rs')
-rw-r--r--src/test/compile-fail/liveness-move-in-while.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-move-in-while.rs b/src/test/compile-fail/liveness-move-in-while.rs
index fa8ce00fb08..6b4147242d1 100644
--- a/src/test/compile-fail/liveness-move-in-while.rs
+++ b/src/test/compile-fail/liveness-move-in-while.rs
@@ -13,7 +13,7 @@ fn main() {
     let y: ~int = ~42;
     let mut x: ~int;
     loop {
-        log(debug, y);
+        debug!(y);
 // tjc: not sure why it prints the same error twice
         while true { while true { while true { x = y; copy x; } } }
         //~^ ERROR use of moved value: `y`