about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-use-after-send.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-use-after-send.rs
parent2fef18abf2b6a9b3c336b1da5b8a08a22438ad4c (diff)
downloadrust-82f190355b07f941bcc98408ea84c02b629991cf.tar.gz
rust-82f190355b07f941bcc98408ea84c02b629991cf.zip
Remove uses of log
Diffstat (limited to 'src/test/compile-fail/liveness-use-after-send.rs')
-rw-r--r--src/test/compile-fail/liveness-use-after-send.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/liveness-use-after-send.rs b/src/test/compile-fail/liveness-use-after-send.rs
index c0de60fa58e..ab24b63af10 100644
--- a/src/test/compile-fail/liveness-use-after-send.rs
+++ b/src/test/compile-fail/liveness-use-after-send.rs
@@ -9,8 +9,8 @@
 // except according to those terms.
 
 fn send<T:Owned>(ch: _chan<T>, -data: T) {
-    log(debug, ch);
-    log(debug, data);
+    debug!(ch);
+    debug!(data);
     fail!();
 }
 
@@ -20,7 +20,7 @@ struct _chan<T>(int);
 // message after the send deinitializes it
 fn test00_start(ch: _chan<~int>, message: ~int, _count: ~int) {
     send(ch, message);
-    log(debug, message); //~ ERROR use of moved value: `message`
+    debug!(message); //~ ERROR use of moved value: `message`
 }
 
 fn main() { fail!(); }